permission

This commit is contained in:
hamid zarghami
2025-04-20 10:00:32 +03:30
parent 1047e1dedb
commit 93e5c7bed3
10 changed files with 142 additions and 104 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import { FC } from 'react'
type Props = {
isActive: boolean,
value: string,
onChange: (value: string) => void
value: string | boolean,
onChange: (value: string | boolean) => void
}
const Radio: FC<Props> = (props: Props) => {
+3 -3
View File
@@ -5,10 +5,10 @@ import Radio from './Radio'
type Props = {
items: {
label: string
value: string
value: string | boolean
}[]
selected: string
onChange: (value: string) => void
selected: string | boolean
onChange: (value: string | boolean) => void
}
const RadioGroup: FC<Props> = (props: Props) => {