import { MouseEvent, ReactNode } from 'react'; /** * an item in the ActionBar component */ export interface ActionItem { /** * optional id, used if title is not set */ id?: string; /** * title - if a string, will use the built-in components, else can prvide custom React component */ node: ReactNode; /** * if the title is a string and href is set will use a default `` component */ href?: string; /** * if the title is a string and href is not set, onClick will be used on a `