Skip to content

Commit

Permalink
WEB-2079 add snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Ladaria committed Nov 11, 2024
1 parent 4ce12d3 commit 0ecc02c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions playroom/snippets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3721,6 +3721,24 @@ const ratingSnippets: Array<Snippet> = [
},
];

const meterSnippets: Array<Snippet> = [
{
group: 'Meter',
name: 'Meter Linear',
code: '<Meter width={200} type="linear" values={[33, 33, 0]} />',
},
{
group: 'Meter',
name: 'Meter Angular',
code: '<Meter width={200} type="angular" values={[33, 33, 0]} />',
},
{
group: 'Meter',
name: 'Meter Circular',
code: '<Meter width={200} type="circular" values={[33, 33, 0]} />',
},
];

export default [
...buttonSnippets,
...formSnippets,
Expand Down Expand Up @@ -3767,6 +3785,7 @@ export default [
...sliderSnippets,
...cardSnippets,
...exampleScreens,
...meterSnippets,
{
group: 'Progress',
name: 'Stepper',
Expand Down

0 comments on commit 0ecc02c

Please sign in to comment.