Skip to main content

Button

A text button, 48 px tall at least. Defaults to type="button" so it never submits a form by accident.

This is a function exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import { Button } from "@mapcairn/map";

function Button(input: ButtonProps): JSX.Element;

Parameters​

  • { variant, icon, mirrorInRtl, busy, disabled, type, className, onClick, children, ...rest }
  • input (ButtonProps)

Returns​

JSX.Element

See also​

Source: packages/map/src/ui/Button/Button.tsx:36