Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
arihanv authored Mar 10, 2024
2 parents 9c9ce02 + aeeef4c commit 5c20f33
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions website/components/cmdk/framer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Command } from 'cmdk'
import React from 'react'

export function FramerCMDK() {
const [value, setValue] = React.useState('button')
const [value, setValue] = React.useState('Button')
return (
<div className="framer">
<Command value={value} onValueChange={(v) => setValue(v)}>
Expand All @@ -17,7 +17,7 @@ export function FramerCMDK() {
<Item value="Button" subtitle="Trigger actions">
<ButtonIcon />
</Item>
<Item value="Input" subtitle="Retrive user input">
<Item value="Input" subtitle="Retrieve user input">
<InputIcon />
</Item>
<Item value="Radio" subtitle="Single choice input">
Expand All @@ -39,13 +39,13 @@ export function FramerCMDK() {
</div>
<hr cmdk-framer-separator="" />
<div cmdk-framer-right="">
{value === 'button' && <Button />}
{value === 'input' && <Input />}
{value === 'badge' && <Badge />}
{value === 'radio' && <Radio />}
{value === 'avatar' && <Avatar />}
{value === 'slider' && <Slider />}
{value === 'container' && <Container />}
{value === 'Button' && <Button />}
{value === 'Input' && <Input />}
{value === 'Badge' && <Badge />}
{value === 'Radio' && <Radio />}
{value === 'Avatar' && <Avatar />}
{value === 'Slider' && <Slider />}
{value === 'Container' && <Container />}
</div>
</div>
</Command.List>
Expand Down

0 comments on commit 5c20f33

Please sign in to comment.