@spaced-out/ui-design-system
Version:
Sense UI components library
237 lines • 5.67 kB
TypeScript
import * as React from 'react';
import type { RatingProps } from './Rating';
declare const _default: {
tags: string[];
title: string;
component: import("flow-to-typescript-codemod").Flow.AbstractComponent<RatingProps, HTMLDivElement>;
argTypes: {
classNames: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
};
};
rating: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
};
};
start: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
};
};
end: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
};
};
iconName: {
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: "medium";
};
};
};
hideLabel: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
readOnly: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
quiet: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
};
};
onChange: {
description: string;
control: {
type: string;
};
action: string;
table: {
type: {
summary: string;
};
};
};
iconColor: {
description: string;
options: unknown[];
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: "favorite";
};
};
};
chipSemantic: {
options: unknown[];
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: "warning";
};
};
};
labels: {
description: string;
control: {
type: string;
};
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
};
parameters: {
docs: {
subtitle: string;
description: {
component: string;
};
};
storySource: {
componentPath: string;
};
};
};
export default _default;
export declare const _Simple: {
(args: RatingProps): React.JSX.Element;
args: {
classNames: {
wrapper: string;
};
rating: number;
};
};
export declare const _ReadOnly: {
(args: RatingProps): React.JSX.Element;
args: {
classNames: {
wrapper: string;
};
iconColor: "tertiary";
hideLabel: boolean;
readOnly: boolean;
rating: number;
};
};
export declare const _CustomLabels: {
(args: RatingProps): React.JSX.Element;
args: {
classNames: {
wrapper: string;
};
iconColor: "information";
chipSemantic: "information";
start: number;
end: number;
rating: number;
labels: string[];
};
};
//# sourceMappingURL=Rating.stories.d.ts.map