@react-md/app-bar
Version:
This small package implments the AppBar spec in material design.
14 lines (13 loc) • 721 B
TypeScript
/// <reference types="react" />
import type { ButtonProps } from "@react-md/button";
import type { 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: import("react").ForwardRefExoticComponent<AppBarActionProps & import("react").RefAttributes<HTMLButtonElement>>;