chore(storybook): localize sidebar menus and hide unused stories
This commit is contained in:
1 parent
2e203627c5
commit
237866385a
7 files changed
+95
-4
No files matched your search
@@ -27,6 +27,8 @@ function SpecimenGrid({ states }: { states: BoardState[] }) {
|
||||
|
||||
const meta = {
|
||||
title: "Components/Form/Label",
|
||||
// `internal` keeps it out of the sidebar by default; Story IDs and direct URLs stay valid.
|
||||
tags: ["internal"],
|
||||
component: Label,
|
||||
parameters: {
|
||||
layout: "padded",
|
||||
|
||||
@@ -116,7 +116,8 @@ function Sizes() {
|
||||
}
|
||||
|
||||
// No `component`: ToggleGroup props are a union (single | multiple), so Stories without args would not type-check.
|
||||
const meta = { title: "Components/Form/Toggle Group", parameters: { layout: "padded" } } satisfies Meta
|
||||
// `internal` keeps it out of the sidebar by default; Story IDs and direct URLs stay valid.
|
||||
const meta = { title: "Components/Form/Toggle Group", tags: ["internal"], parameters: { layout: "padded" } } satisfies Meta
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
|
||||
Reference in new issue
Block a user