@atlaskit/button
Version:
A button triggers an event or action. They let users know what will happen next.
9 lines (8 loc) • 630 B
TypeScript
import { type CSSObject } from '@emotion/react';
import { createTheme } from '@atlaskit/theme/components';
import { type ThemeProps, type ThemeTokens } from './custom-theme-button-types';
export declare function getCustomCss({ appearance, spacing, isSelected, shouldFitContainer, iconIsOnlyChild, isLoading, state, }: ThemeProps): CSSObject;
export declare function getSpecifiers(styles: CSSObject): CSSObject;
export declare function defaultThemeFn(current: (values: ThemeProps) => ThemeTokens, values: ThemeProps): ThemeTokens;
declare const Theme: ReturnType<typeof createTheme<ThemeTokens, ThemeProps>>;
export default Theme;