Skip to content

Commit

Permalink
feat(types): make meta title optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jul 13, 2021
1 parent 0b850ae commit 07c3053
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/addons/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ export interface BaseMeta<ComponentType> {
*
* Stories can be organized in a nested structure using "/" as a separator.
*
* Since CSF 3.0 this property is optional.
*
* @example
* export default {
* ...
Expand All @@ -244,7 +246,7 @@ export interface BaseMeta<ComponentType> {
*
* @see [Story Hierarchy](https://storybook.js.org/docs/basics/writing-stories/#story-hierarchy)
*/
title: string;
title?: string;

/**
* The primary component for your story.
Expand Down

0 comments on commit 07c3053

Please sign in to comment.