add story for underline nav component
ADD
stories/primer/underline_nav_component_stories.rb
+# frozen_string_literal: true
+
+class Primer::UnderlineNavComponentStories < ViewComponent::Storybook::Stories
+ layout "storybook_preview"
+
+ story(:underline_nav) do
+ controls do
+ select(:align, Primer::UnderlineNavComponent::ALIGN_OPTIONS, :left)
+ end
+
+ content do |component|
+ component.with(:body) { "body" }
+ end
+ end
+end

MODIFY
test/components/component_test.rb
test/components/component_test.rb
@@ -95,7 +95,6 @@ class PrimerComponentTest < Minitest::Test
"subhead_component",
"flex_item_component",
"dropdown_menu_component",
- "underline_nav_component",
"base_component",
"flex_component",
]

add story for underline nav component