@spaced-out/ui-design-system
Version:
Sense UI components library
245 lines • 5.83 kB
TypeScript
import * as React from 'react';
import type { ButtonProps } from './Button';
declare const _default: {
tags: string[];
title: string;
component: import("flow-to-typescript-codemod").Flow.AbstractComponent<ButtonProps, HTMLButtonElement>;
argTypes: {
onClick: {
description: string;
action: string;
table: {
type: {
summary: string;
};
};
};
classNames: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
iconLeftName: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
iconLeftType: {
description: string;
options: string[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
iconRightName: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
iconRightType: {
description: string;
options: string[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
type: {
options: unknown[];
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
actionType: {
options: unknown[];
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
size: {
description: string;
options: unknown[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
disabled: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
isLoading: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
isFluid: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
children: {
description: string;
table: {
type: {
summary: string;
};
};
};
ariaLabel: {
control: {
type: string;
};
description: string;
table: {
type: {
summary: string;
};
};
};
};
parameters: {
docs: {
subtitle: string;
description: {
component: string;
};
};
storySource: {
componentPath: string;
};
};
};
export default _default;
/** Text only Button */
export declare const _TextOnly: {
(args: ButtonProps): React.JSX.Element;
args: {
children: string;
type: string;
size: string;
};
};
export declare const _TextIconLeft: {
(args: ButtonProps): React.JSX.Element;
args: {
children: string;
type: string;
size: string;
iconLeftName: string;
};
};
export declare const _TextIconRight: {
(args: ButtonProps): React.JSX.Element;
args: {
children: string;
type: string;
size: string;
iconRightName: string;
};
};
export declare const _IconOnly: {
(args: ButtonProps): React.JSX.Element;
args: {
type: string;
size: string;
iconRightName: string;
ariaLabel: string;
};
};
export declare const _Gradient: {
(args: ButtonProps): React.JSX.Element;
args: {
type: string;
iconLeftName: string;
iconLeftType: string;
children: string;
};
};
//# sourceMappingURL=Button.stories.d.ts.map