@storybook/addon-docs
Version:
Superior documentation for your components
7 lines (6 loc) • 419 B
TypeScript
import { PropSummaryValue } from '@storybook/components';
export declare const MAX_TYPE_SUMMARY_LENGTH = 90;
export declare const MAX_DEFALUT_VALUE_SUMMARY_LENGTH = 50;
export declare function isTooLongForTypeSummary(value: string): boolean;
export declare function isTooLongForDefaultValueSummary(value: string): boolean;
export declare function createSummaryValue(summary: string, detail?: string): PropSummaryValue;