/// import "./action-list.scss"; export type MinActionItem = { complete: boolean; id: string; subtitle?: string; title: string; }; export type ActionItemProps = { actionText?: string; activeClassName?: string; className?: string; item: T; onAction?: (i: T) => void; onRowClick?: (i: T) => void; onSecondaryAction?: (i: T) => void; secondaryActionText?: string; onUndoAction?: (i: T) => void; undoActionText?: string; }; export type ActionListProps = { items: T[]; } & Omit, "item">; /** * Displays a list of action items which reflect whether they are * completed or not. List items marked "active" will show a (primary) * colored border to the left and when hovered will present a button * to take action. Use the "onAction" handler to mark items as "complete". * * Optionally the opposite can be done for inactive items if an "onUndoAction" * handler is passed in, but that is not a requirement. */ export declare const ActionList: ({ items, className, ...itemProps }: ActionListProps) => JSX.Element; export declare const ActionListItem: ({ item, onRowClick, onAction, onSecondaryAction, secondaryActionText, actionText, undoActionText, onUndoAction, activeClassName, }: ActionItemProps) => JSX.Element; //# sourceMappingURL=action-list.d.ts.map