@gdsc-dju/styled-components
Version:
GDSC-DJU Design System Component package for styled-components
14 lines (13 loc) • 543 B
TypeScript
/// <reference types="react" />
export declare type TagInputAttributes = {
value?: string;
} & Pick<React.InputHTMLAttributes<HTMLInputElement>, 'autoComplete' | 'autoFocus' | 'disabled' | 'name' | 'readOnly' | 'placeholder' | 'onFocus' | 'onBlur' | 'onClick'>;
export declare type TagInputProps = {
className?: string;
tags?: string[] | [];
onChange: (tags: string[]) => void;
maxTags?: number;
hasError?: boolean;
borderless?: boolean;
chip?: keyof JSX.IntrinsicElements;
} & TagInputAttributes;