Skip to content

Commit 50085c7

Browse files
committed
fix: radio size typing
1 parent bc19bae commit 50085c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/primitives/Radio/types.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { MutableRefObject } from 'react';
77
import type { ResponsiveValue } from '../../../components/types';
88
import type { ISizes } from '../../../theme/base/sizes';
99
export type IRadioValue = string;
10-
import type { CustomProps } from '../../types';
10+
import type { CustomProps, ThemeComponentSizeType } from '../../types';
1111
import type { IIconProps } from '../Icon';
1212

1313
export type IRadioGroupOnChangeHandler = (value: IRadioValue) => any;
@@ -50,7 +50,7 @@ export interface InterfaceRadioProps extends InterfaceBoxProps<IRadioProps> {
5050
* The size (width and height) of the radio.
5151
*/
5252

53-
size?: ResponsiveValue<ISizes | (string & {}) | number>;
53+
size?: ThemeComponentSizeType<'Radio'>;
5454

5555
/**
5656
* If given, will use this icon instead of the default.

0 commit comments

Comments
 (0)