1- import { Command } from 'cmdk' ;
2- import React from 'react' ;
1+ import { Command } from 'cmdk'
2+ import React from 'react'
33
44export function FramerCMDK ( ) {
5- const [ value , setValue ] = React . useState ( 'button' ) ;
5+ const [ value , setValue ] = React . useState ( 'button' )
66 return (
77 < div className = "framer" >
88 < Command value = { value } onValueChange = { ( v ) => setValue ( v ) } >
@@ -51,19 +51,19 @@ export function FramerCMDK() {
5151 </ Command . List >
5252 </ Command >
5353 </ div >
54- ) ;
54+ )
5555}
5656
5757function Button ( ) {
58- return < button > Primary</ button > ;
58+ return < button > Primary</ button >
5959}
6060
6161function Input ( ) {
62- return < input type = "text" placeholder = "Placeholder" /> ;
62+ return < input type = "text" placeholder = "Placeholder" />
6363}
6464
6565function Badge ( ) {
66- return < div cmdk-framer-badge = "" > Badge</ div > ;
66+ return < div cmdk-framer-badge = "" > Badge</ div >
6767}
6868
6969function Radio ( ) {
@@ -72,23 +72,23 @@ function Radio() {
7272 < input type = "radio" defaultChecked />
7373 Radio Button
7474 </ label >
75- ) ;
75+ )
7676}
7777
7878function Slider ( ) {
7979 return (
8080 < div cmdk-framer-slider = "" >
8181 < div />
8282 </ div >
83- ) ;
83+ )
8484}
8585
8686function Avatar ( ) {
87- return < img src = "/rauno.jpeg" alt = "Avatar of Rauno" /> ;
87+ return < img src = "/rauno.jpeg" alt = "Avatar of Rauno" />
8888}
8989
9090function Container ( ) {
91- return < div cmdk-framer-container = "" /> ;
91+ return < div cmdk-framer-container = "" />
9292}
9393
9494function Item ( { children, value, subtitle } : { children : React . ReactNode ; value : string ; subtitle : string } ) {
@@ -100,7 +100,7 @@ function Item({ children, value, subtitle }: { children: React.ReactNode; value:
100100 < span cmdk-framer-item-subtitle = "" > { subtitle } </ span >
101101 </ div >
102102 </ Command . Item >
103- ) ;
103+ )
104104}
105105
106106function ButtonIcon ( ) {
@@ -113,7 +113,7 @@ function ButtonIcon() {
113113 clipRule = "evenodd"
114114 > </ path >
115115 </ svg >
116- ) ;
116+ )
117117}
118118
119119function InputIcon ( ) {
@@ -126,7 +126,7 @@ function InputIcon() {
126126 clipRule = "evenodd"
127127 > </ path >
128128 </ svg >
129- ) ;
129+ )
130130}
131131
132132function RadioIcon ( ) {
@@ -139,7 +139,7 @@ function RadioIcon() {
139139 clipRule = "evenodd"
140140 > </ path >
141141 </ svg >
142- ) ;
142+ )
143143}
144144
145145function BadgeIcon ( ) {
@@ -152,7 +152,7 @@ function BadgeIcon() {
152152 clipRule = "evenodd"
153153 > </ path >
154154 </ svg >
155- ) ;
155+ )
156156}
157157
158158function ToggleIcon ( ) {
@@ -165,7 +165,7 @@ function ToggleIcon() {
165165 clipRule = "evenodd"
166166 > </ path >
167167 </ svg >
168- ) ;
168+ )
169169}
170170
171171function AvatarIcon ( ) {
@@ -178,7 +178,7 @@ function AvatarIcon() {
178178 clipRule = "evenodd"
179179 > </ path >
180180 </ svg >
181- ) ;
181+ )
182182}
183183
184184function ContainerIcon ( ) {
@@ -191,7 +191,7 @@ function ContainerIcon() {
191191 clipRule = "evenodd"
192192 > </ path >
193193 </ svg >
194- ) ;
194+ )
195195}
196196
197197function SearchIcon ( ) {
@@ -206,7 +206,7 @@ function SearchIcon() {
206206 >
207207 < path strokeLinecap = "round" strokeLinejoin = "round" d = "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
208208 </ svg >
209- ) ;
209+ )
210210}
211211
212212function SliderIcon ( ) {
@@ -219,5 +219,5 @@ function SliderIcon() {
219219 clipRule = "evenodd"
220220 > </ path >
221221 </ svg >
222- ) ;
222+ )
223223}
0 commit comments