permission
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user