UNPKG

prp-ui-components

Version:

Package for use components of Pratica Plataforms

20 lines (19 loc) 761 B
import * as React from 'react'; import './styles.scss'; export interface ListType { value: string; label: string; } export interface SelectProps extends React.ComponentPropsWithoutRef<'div'> { checkbox?: boolean; autoComplete?: 'on' | 'off' | string; options: ListType[]; selectedOption: string[]; onSelectOptions: (selectOptions: string[]) => void; variant?: 'light' | 'dark'; tooltip?: 'right' | 'left' | 'top' | 'bottom' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start'; errors?: any; placeholder?: string; disable?: boolean; } export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLInputElement>>;