Kvaser CanKing GUI Extensions SDK - v7.5.1
    Preparing search index...

    Variable OneLineButtonConst

    OneLineButton: StyledComponent<
        ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<
            DetailedHTMLProps<
                ButtonHTMLAttributes<HTMLButtonElement>,
                HTMLButtonElement,
            >,

                | "color"
                | "className"
                | "style"
                | "classes"
                | "children"
                | "sx"
                | "variant"
                | "tabIndex"
                | "disabled"
                | "size"
                | "action"
                | "centerRipple"
                | "disableRipple"
                | "disableTouchRipple"
                | "focusRipple"
                | "focusVisibleClassName"
                | "LinkComponent"
                | "onFocusVisible"
                | "TouchRippleProps"
                | "touchRippleRef"
                | "disableFocusRipple"
                | "href"
                | "disableElevation"
                | "endIcon"
                | "fullWidth"
                | "loading"
                | "loadingIndicator"
                | "loadingPosition"
                | "startIcon",
        > & MUIStyledCommonProps<Theme> & {
            component?: ElementType<any, (keyof IntrinsicElements)>;
        },
        {},
        {},
    > = ...

    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.

    The OneLineButton React component.