@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
11 lines (10 loc) • 1.21 kB
TypeScript
/**
* Creates a one line button.
* The button is styled to have white-space set to nowrap and min-width set to max-content, which forces the
* button to use only one line and to be as wide as its content.
* @returns The OneLineButton React component.
*/
declare const OneLineButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "variant" | "color" | "loading" | "style" | "action" | "className" | "children" | "tabIndex" | "disabled" | "size" | "href" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "fullWidth" | "disableElevation" | "endIcon" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
component?: React.ElementType;
}, {}, {}>;
export default OneLineButton;