@material/react-button

  • Version 0.15.0
  • Published
  • 98.4 kB
  • 3 dependencies
  • MIT license

Install

npm i @material/react-button
yarn add @material/react-button
pnpm add @material/react-button

Overview

Material Components React Button

Index

Variables

variable _default

const _default: React.ComponentType<any>;

    variable Button

    const Button: {
    <T extends ButtonTypes>({
    className,
    raised,
    unelevated,
    outlined,
    dense,
    disabled,
    icon,
    href,
    children,
    initRipple,
    trailingIcon,
    unbounded,
    ...otherProps
    }: ButtonProps<T>): JSX.Element;
    defaultProps: { initRipple: () => void };
    };

      Interfaces

      interface ButtonProps

      interface ButtonProps<T extends ButtonTypes>
      extends InjectedProps<T>,
      React.AnchorHTMLAttributes<T>,
      React.ButtonHTMLAttributes<T> {}

        property className

        className?: string;

          property dense

          dense?: boolean;

            property disabled

            disabled?: boolean;

              property href

              href?: string;

                property icon

                icon?: React.ReactElement<React.HTMLProps<HTMLOrSVGElement>>;

                  property outlined

                  outlined?: boolean;

                    property raised

                    raised?: boolean;

                      property trailingIcon

                      trailingIcon?: React.ReactElement<React.HTMLProps<HTMLOrSVGElement>>;

                        property unelevated

                        unelevated?: boolean;

                          Package Files (1)

                          Dependencies (3)

                          Dev Dependencies (0)

                          No dev dependencies.

                          Peer Dependencies (1)

                          Badge

                          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@material/react-button.

                          • Markdown
                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@material/react-button)
                          • HTML
                            <a href="https://www.jsdocs.io/package/@material/react-button"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>