File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { Spinner } from "~/components/primitives/Spinner" ;
2
+
3
+ export default function Story ( ) {
4
+ return (
5
+ < div className = "flex flex-col items-start gap-y-3 p-4" >
6
+ < div className = "flex items-center gap-x-4 rounded-md bg-charcoal-750 px-3 py-2 text-text-bright" >
7
+ Blue: < Spinner color = "blue" />
8
+ </ div >
9
+ < div className = "flex items-center gap-x-4 rounded-md bg-charcoal-750 px-3 py-2 text-text-bright" >
10
+ White: < Spinner color = "white" />
11
+ </ div >
12
+ < div className = "flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright" >
13
+ Muted: < Spinner color = "muted" />
14
+ </ div >
15
+ < div className = "flex items-center gap-x-2" >
16
+ < div className = "flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright" >
17
+ Dark: < Spinner color = "dark" />
18
+ </ div >
19
+ < div className = "flex items-center gap-x-4 rounded-md bg-primary px-2 py-2 text-text-bright" >
20
+ < Spinner color = "dark" />
21
+ </ div >
22
+ </ div >
23
+ < div className = "flex items-center gap-x-4 rounded-md bg-charcoal-600 px-3 py-2 text-text-bright" >
24
+ Custom: < Spinner color = { { background : "#EA189E" , foreground : "#6532F5" } } />
25
+ </ div >
26
+ </ div >
27
+ ) ;
28
+ }
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ const stories: Story[] = [
84
84
name : "Shortcuts" ,
85
85
slug : "shortcuts" ,
86
86
} ,
87
+ {
88
+ name : "Spinners" ,
89
+ slug : "spinner" ,
90
+ } ,
87
91
{
88
92
name : "Switch" ,
89
93
slug : "switch" ,
You can’t perform that action at this time.
0 commit comments