funda-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
28 lines (27 loc) • 872 B
TypeScript
import React from 'react';
export interface ColorPickerProps extends React.ComponentPropsWithoutRef<"input"> {
wrapperClassName?: string;
controlClassName?: string;
controlExClassName?: string;
clearBtnClassName?: string;
clearBtnLabel?: string;
value?: string;
requiredLabel?: React.ReactNode | string;
label?: React.ReactNode | string;
name?: string;
disabled?: any;
required?: any;
readOnly?: any;
shape?: string;
/** -- */
id?: string;
style?: React.CSSProperties;
tabIndex?: number;
[key: `data-${string}`]: string | undefined;
onChange?: (e: any) => void;
onBlur?: (e: any) => void;
onFocus?: (e: any) => void;
onClear?: (e: any) => void;
}
declare const ColorPicker: React.ForwardRefExoticComponent<ColorPickerProps & React.RefAttributes<unknown>>;
export default ColorPicker;