UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

13 lines (12 loc) 533 B
import React from 'react'; import { ColorPickerDialogProps } from './ColorPickerDialog'; import { HSLColor, getColorValue } from './ColorPickerPresenter'; type PreviewProps = Pick<ColorPickerDialogProps, 'accessibilityLabels' | 'previewInputStyle' | 'testID'> & { color: HSLColor; text: ReturnType<typeof getColorValue>; valid: boolean; onChangeText: (value: string) => void; onFocus: () => void; }; declare const ColorPickerPreview: (props: PreviewProps) => React.JSX.Element; export default ColorPickerPreview;