UNPKG

focus-components-v3

Version:

Focus web components to build applications (based on Material Design)

17 lines (15 loc) 412 B
import {ButtonProps} from "../button"; export interface DropdownItem { action: (data?: {}) => void; label?: string; style?: string; } export default class Dropdown extends React.Component<{ button?: ButtonProps; operationParam?: {}; operations: DropdownItem[]; position?: { horizontal?: "left" | "right"; vertical?: "top" | "bottom"; }; }, {}> {}