Commit 4271bb5 1 parent 381e1b2 commit 4271bb5 Copy full SHA for 4271bb5
File tree 3 files changed +3
-4
lines changed
www/src/components/demos/toggle-button
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { ToggleButton } from "@/components/dynamic-core/toggle-button";
4
4
export default function Demo ( ) {
5
5
return (
6
6
< div className = "flex items-center gap-4" >
7
- < ToggleButton variant = "outline" shape = "square" aria-label = "Toggle pin" >
7
+ < ToggleButton shape = "square" aria-label = "Toggle pin" >
8
8
< PinIcon className = "rotate-45" />
9
9
</ ToggleButton >
10
- < ToggleButton variant = "outline" shape = "circle" aria-label = "Toggle pin" >
10
+ < ToggleButton shape = "circle" aria-label = "Toggle pin" >
11
11
< PinIcon className = "rotate-45" />
12
12
</ ToggleButton >
13
13
< ToggleButton
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export default function Demo() {
10
10
< ToggleButton
11
11
key = { size }
12
12
size = { size }
13
- variant = "outline"
14
13
aria-label = "Toggle pin"
15
14
>
16
15
< PinIcon className = "rotate-45" />
Original file line number Diff line number Diff line change 1
1
import { PinIcon } from "lucide-react" ;
2
2
import { ToggleButton } from "@/components/dynamic-core/toggle-button" ;
3
3
4
- const variants = [ "quiet" , "outline " , "accent" ] as const ;
4
+ const variants = [ "quiet" , "primary " , "accent" ] as const ;
5
5
6
6
export default function Demo ( ) {
7
7
return (
You can’t perform that action at this time.
0 commit comments