Skip to content

Commit

Permalink
chore: adds variant example for Value.Date (#3906)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Sep 6, 2024
1 parent 66dd12e commit eb32f99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ export const WithValue = () => {
)
}

export const VariantShort = () => {
return (
<ComponentBox scope={{ Value }}>
<Value.Date value="2023-01-16" variant="short" />
</ComponentBox>
)
}

export const Label = () => {
return (
<ComponentBox scope={{ Value }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import * as Examples from './Examples'

<Examples.WithValue />

### Variant

<Examples.VariantShort />

### Label

<Examples.Label />
Expand Down

0 comments on commit eb32f99

Please sign in to comment.