UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

16 lines (15 loc) 595 B
import * as React from 'react'; import { Position } from '../../dtos'; export interface CreateNewItemButtonProps { className?: string; listId: string; isDisabled: boolean; NewItemButton: React.ElementType<any>; position?: Position; refListStart: React.MutableRefObject<undefined>; refListEnd: React.MutableRefObject<undefined>; setNewItemPosition: React.Dispatch<React.SetStateAction<Position>>; showNewItem: boolean; toggleShowNewItem: (listId: any) => void; } export declare const CreateNewItemButton: React.FC<CreateNewItemButtonProps>;