UNPKG

@react-md/app-bar

Version:

This small package implments the AppBar spec in material design.

14 lines (13 loc) 686 B
import React from "react"; import { ButtonProps } from "@react-md/button"; import { AppBarActionClassNameProps } from "./useActionClassName"; export interface AppBarActionProps extends ButtonProps, AppBarActionClassNameProps { } /** * This component is really just a simple wrapper for the `Button` component * that adds a few additional styles to prevent the button from shrinking when * an `AppBar` has a lot of content. It also will automatically add spacing * either before or after this button when the `first` or `last` props are * provided. */ export declare const AppBarAction: React.ForwardRefExoticComponent<AppBarActionProps & React.RefAttributes<HTMLButtonElement>>;