Skip to content

Commit c3b6587

Browse files
committed
Update example
1 parent d11b522 commit c3b6587

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

website/src/App.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { useEffect } from 'react'
1515

1616
const orderTypes = ['Delivery', 'Pickup', 'Shipping']
1717
const options = [
18-
{ label: 'Publish', value: 1, test: 'H', hentikan: false },
19-
{ label: 'Draft', value: 0, test: 'U', hentikan: true }
18+
{ label: 'Publish', value: 1, test: 'H' },
19+
{ label: 'Draft', value: 0, test: 'U' }
2020
]
2121
const pets = [
2222
{ text: 'Car, (AKA Cat)', id: 1 },
@@ -100,7 +100,6 @@ function App() {
100100
className="flex rounded-full bg-muted p-2"
101101
highlighterClassName="bg-primary rounded-full"
102102
aria-label="Order type"
103-
disabledOptions={['Shipping']}
104103
radioClassName={cn(
105104
'relative mx-2 flex h-9 cursor-pointer items-center justify-center',
106105
'rounded-full px-3.5 text-sm font-medium transition-colors focus:outline-none data-[checked]:text-primary-foreground',
@@ -127,7 +126,6 @@ function App() {
127126
value={field.value}
128127
onChange={field.onChange}
129128
options={options}
130-
disabledKey="hentikan"
131129
className="rounded-xl bg-muted p-2"
132130
highlighterClassName="bg-primary rounded-xl"
133131
radioClassName={cn(

0 commit comments

Comments
 (0)