diff --git a/addons/docs/src/lib/utils.ts b/addons/docs/src/lib/utils.ts index 44725a08695..58f9d75efdf 100644 --- a/addons/docs/src/lib/utils.ts +++ b/addons/docs/src/lib/utils.ts @@ -1,14 +1,14 @@ import { PropSummaryValue } from '@storybook/components'; export const MAX_TYPE_SUMMARY_LENGTH = 90; -export const MAX_DEFALUT_VALUE_SUMMARY_LENGTH = 50; +export const MAX_DEFAULT_VALUE_SUMMARY_LENGTH = 50; export function isTooLongForTypeSummary(value: string): boolean { return value.length > MAX_TYPE_SUMMARY_LENGTH; } export function isTooLongForDefaultValueSummary(value: string): boolean { - return value.length > MAX_DEFALUT_VALUE_SUMMARY_LENGTH; + return value.length > MAX_DEFAULT_VALUE_SUMMARY_LENGTH; } export function createSummaryValue(summary: string, detail?: string): PropSummaryValue {