`s. ([IconText](#icontext) is
* inline-level.)
*/
children: any;
/**
* A keyword identifying the standard button styling variant to use.
*
* *The variant is a starting point*: all of the other styling props can be
* used to override details.
*
* The following variants are available:
*
* - `"primary"`: For primary actions.
* - `"secondary"`: For secondary actions.
* - `"tertiary"`: For downplayed actions, the ones people shouldn't
* usually want to perform, like cancelling instead of confirming.
* - `"destructive"`: For destructive actions, like deleting something.
* - `"appPrimary"`: For primary actions in dense apps.
* - `"appSecondary"`: For secondary actions in dense apps.
*/
variant: any;
/**
* A callback that receives the click event.
*
* You definitely need this if you don't use `href`; but you can also provide
* both `onClick` and `href`, and `onClick` will be called when the `
` is
* clicked.
*/
onClick: any;
/**
* A URL. If `href` is provided, the button will be an ``.
*/
href: any;
/**
* The size of the button: `"small"`, `"medium"`, or `"large"`.
*
* This accounts for height, outline thickness, text size, and other details.
*
* This will override whichever defaults are set by your `variant` of choice.
*/
size: any;
/**
* The width of the button: `"small"`, `"medium"`, `"large"`, or `"full"`.
* For every option but `"full"` this prop determines horizontal padding.
* `"full"` sets the button to fill the width of its container.
*
* This is distinguished from `size` because buttons of the same general size
* can vary by width.
*
* This will override whichever defaults are set by your `variant` of choice.
*/
width: any;
/**
* If `true`, the button will be outlined instead of filled with color.
*/
outline: any;
/**
* The Assembly color of the button.
*/
color: any;
/**
* If `true`, the button will have (slightly rounded) corners instead of
* the full curve they have by default.
*/
corners: any;
/**
* If `true`, the element will be `block` displayed instead of `inline-block`.
*
* This is sometimes necessary to get your pixel-perfect layout, if you don't
* want the extra line-height that wraps inline elements. Typically, you
* should only set `block` to `true` if the parent element is controlling
* width (in a layout that uses flexbox, absolute positioning, or floats).
*/
block: any;
/**
* Is it disabled?
*/
disabled: any;
/**
* An object of props that you want to pass through to the element that
* Button renders. This can be useful if you want to disable
* the button, assign an ID for testing, add an ARIA attribute, toss in some
* custom style properties, etc.
*/
passthroughProps: any;
};
}
export default Button;