@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
15 lines (14 loc) • 572 B
TypeScript
import React from 'react';
import { IconButtonProps } from "./IconButton.js";
import type { ForwardRef } from "./types.js";
export declare const MenuIcon: ({ size }: {
size?: number | undefined;
}) => React.JSX.Element;
export type MenuButtonProps = IconButtonProps;
/**
* MenuButton variants can be defined in the `theme.buttons` object.
* By default the MenuButton component will use styles defined in `theme.buttons.menu`.
*
* @see https://theme-ui.com/components/menu-button
*/
export declare const MenuButton: ForwardRef<HTMLButtonElement, MenuButtonProps>;