File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ import type { Meta as MetaObj , StoryObj } from '@storybook/react' ;
2+
3+ export const OrderedLists : StoryObj = {
4+ render : ( ) => (
5+ < div >
6+ < ol >
7+ < li > Ordered lists</ li >
8+ < li > Like this</ li >
9+ < li > with numbers</ li >
10+ </ ol >
11+ </ div >
12+ ) ,
13+ } ;
14+
15+ export const UnorderedLists : StoryObj = {
16+ render : ( ) => (
17+ < div >
18+ < ul >
19+ < li > Unordered lists</ li >
20+ < li > those without</ li >
21+ < li > numbers</ li >
22+ </ ul >
23+ </ div >
24+ ) ,
25+ } ;
26+
27+ export default { title : 'Design System/Lists' } as MetaObj ;
Original file line number Diff line number Diff line change @@ -25,3 +25,19 @@ a:visited {
2525 dark:text-green-300;
2626 }
2727}
28+
29+ ul {
30+ @apply list-disc
31+ px-5
32+ leading-6
33+ text-neutral-900
34+ dark:text-white;
35+ }
36+
37+ ol {
38+ @apply list-decimal
39+ px-5
40+ leading-6
41+ text-neutral-900
42+ dark:text-white;
43+ }
You can’t perform that action at this time.
0 commit comments