UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

39 lines (38 loc) 936 B
import { ButtonGroupProps } from "@mui/material/ButtonGroup"; /** * Down & Up Button Props */ export type DownUpButtonProps = Omit<ButtonGroupProps, "orientation"> & { /** * Is down button disabled */ downDisabled?: boolean; /** * Down button label */ downLabel?: string; /** * Is up button disabled */ upDisabled?: boolean; /** * Up button label */ upLabel?: string; /** * Down button click handler * @param event Mouse click event */ onDownClick?: (event: React.MouseEvent<HTMLButtonElement>) => void; /** * Up button click handler * @param event Mouse click event */ onUpClick?: (event: React.MouseEvent<HTMLButtonElement>) => void; }; /** * Down & Up Button * @param props Props * @returns Component */ export declare function DownUpButton(props: DownUpButtonProps): import("react/jsx-runtime").JSX.Element;