diff --git a/packages/unstyled/checkbox/src/types.ts b/packages/unstyled/checkbox/src/types.ts index c97e4eec82..55b063ee8e 100644 --- a/packages/unstyled/checkbox/src/types.ts +++ b/packages/unstyled/checkbox/src/types.ts @@ -1,5 +1,5 @@ import type { ViewProps } from 'react-native'; -interface InterfaceCheckbox extends ViewProps { +export interface InterfaceCheckbox extends ViewProps { value: string; onChange?: (isSelected: boolean) => void; children?: React.ReactNode; diff --git a/packages/unstyled/input/src/types.ts b/packages/unstyled/input/src/types.ts index 950e8aaf97..9ae0e41196 100644 --- a/packages/unstyled/input/src/types.ts +++ b/packages/unstyled/input/src/types.ts @@ -13,7 +13,7 @@ export interface InputContext { inputFieldRef?: any; } -interface IInputFieldProps { +export interface IInputFieldProps { /** * If true, the input will indicate an error. */ diff --git a/packages/unstyled/radio/src/types.ts b/packages/unstyled/radio/src/types.ts index dcbea8bb70..6660f3ff73 100644 --- a/packages/unstyled/radio/src/types.ts +++ b/packages/unstyled/radio/src/types.ts @@ -1,5 +1,5 @@ import type { ViewProps } from 'react-native'; -interface InterfaceRadio extends ViewProps { +export interface InterfaceRadio extends ViewProps { value: string; onChange?: (isSelected: boolean) => void; children?: React.ReactNode;