Skip to content

Commit 02c5642

Browse files
committed
Add as a draft component
1 parent 8af384d commit 02c5642

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/content/Hidden.mdx renamed to docs/content/drafts/Hidden.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ status: Alpha
66
componentId: hidden
77
---
88

9-
The `Hidden` component is a `<span />` that will help you hide or show content/components in different viewports.
9+
The `Hidden` component is a utility component that will help you hide or show content/components in different viewports.
1010
**Attention:** Use Hidden only to control behaviour in a responsive manner. It does not take any `sx` props.
1111

1212
## Example

docs/src/@primer/gatsby-theme-doctocat/nav.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@
8484
url: /Header
8585
- title: Heading
8686
url: /Heading
87-
- title: Hidden
88-
url: /Hidden
8987
- title: IconButton
9088
url: /IconButton
9189
- title: Label
@@ -157,6 +155,8 @@
157155
children:
158156
- title: Dialog v2
159157
url: /drafts/Dialog
158+
- title: Hidden
159+
url: /Hidden
160160
- title: InlineAutocomplete
161161
url: /drafts/InlineAutocomplete
162162
- title: MarkdownEditor

src/drafts/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
*/
77
export * from '../Dialog/Dialog'
88

9+
export * from '../Hidden' // Will be moved from drafts to main bundle after utility is proven
10+
911
export {default as InlineAutocomplete} from './InlineAutocomplete'
1012
export type {
1113
InlineAutocompleteProps,

0 commit comments

Comments
 (0)