@spaced-out/ui-design-system
Version:
Sense UI components library
205 lines • 5.03 kB
TypeScript
import * as React from 'react';
import type { PromptChipProps } from './PromptChip';
declare const _default: {
tags: string[];
title: string;
component: import("flow-to-typescript-codemod").Flow.AbstractComponent<PromptChipProps, HTMLDivElement>;
argTypes: {
type: {
options: unknown[];
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: "primary";
};
};
};
onClick: {
description: string;
action: string;
table: {
type: {
summary: string;
};
};
};
iconType: {
description: string;
options: string[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
iconName: {
description: string;
type: {
required: boolean;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
iconColor: {
description: string;
options: unknown[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
classNames: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
dismissable: {
description: string;
name: string;
options: boolean[];
control: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
onDismiss: {
description: string;
action: string;
table: {
type: {
summary: string;
};
};
};
selfDismiss: {
description: string;
name: string;
options: boolean[];
control: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
showInfoIcon: {
description: string;
name: string;
options: boolean[];
control: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
infoIconTooltip: {
description: string;
name: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
children: {
description: string;
table: {
type: {
summary: string;
};
};
};
rightSlot: {
description: string;
table: {
type: {
summary: string;
};
};
};
};
parameters: {
docs: {
subtitle: string;
description: {
component: string;
};
};
storySource: {
componentPath: string;
};
};
};
export default _default;
export declare const _Default: {
(args: PromptChipProps): React.JSX.Element;
args: {
children: string;
};
};
export declare const _WithRightSlot: {
(args: PromptChipProps): React.JSX.Element;
args: {
children: string;
type: string;
onClick: null;
rightSlot: React.ReactElement<React.ComponentProps<React.ComponentType>>;
};
};
export declare const _WithInfoIcon: {
(args: PromptChipProps): React.JSX.Element;
args: {
children: string;
infoIconTooltip: {
title: string;
};
showInfoIcon: boolean;
};
};
//# sourceMappingURL=PromptChip.stories.d.ts.map