@storybook/addon-ondevice-controls
Version:
Display storybook controls on your device.
15 lines (14 loc) • 534 B
TypeScript
import { Theme } from '@storybook/react-native-theming';
import { TextInput, TextInputProps, TextStyle } from 'react-native';
export declare function inputStyle({ theme, focused, hasError, }: {
theme: Theme;
focused?: boolean;
hasError?: boolean;
}): TextStyle;
export declare const Input: import("@storybook/react-native-theming").StyledComponent<TextInputProps & import("react").RefAttributes<TextInput> & {
theme?: Theme;
as?: React.ElementType;
} & {
focused?: boolean;
hasError?: boolean;
}, {}, {}>;