UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

22 lines (21 loc) 830 B
import { type CSSObject } from '@emotion/react'; import { type Appearance, type Spacing } from '../types'; type GetCssArgs = { appearance: Appearance; spacing: Spacing; isSelected: boolean; shouldFitContainer: boolean; isOnlySingleIcon: boolean; }; export declare function getCss({ appearance, spacing, isSelected, shouldFitContainer, isOnlySingleIcon, }: GetCssArgs): CSSObject; export declare function getIconStyle({ spacing, }: { spacing: Spacing; }): import('@emotion/react').SerializedStyles; export declare function getContentStyle({ spacing, }: { spacing: Spacing; }): import('@emotion/react').SerializedStyles; export declare function getFadingCss({ hasOverlay, }: { hasOverlay: boolean; }): import('@emotion/react').SerializedStyles; export declare const overlayCss: CSSObject; export {};