Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix: <StoryDescription> make className and headerStyle props not requ…
Browse files Browse the repository at this point in the history
…ired (#128)
  • Loading branch information
SergeyRoyt authored Nov 24, 2023
1 parent 9abf636 commit 0c2f491
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/story-description/story-description.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { FC, useMemo } from 'react';
import React, { FC, useMemo } from 'react';
import cx from 'classnames';
import styles from './story-description.module.scss';
import { ElementContent, withStaticProps } from '../../types';
import { FlexAlign, FlexDirection, FlexGap, FlexJustify } from '../../helpers/components/Flex/FlexConstants';
import Flex from '../../helpers/components/Flex/Flex';
import styles from './story-description.module.scss';

type StoryDescriptionProps = {
align?: FlexAlign;
description?: ElementContent;
children: ElementContent;
className: string;
className?: string;
headerAlign?: FlexAlign;
headerJustify?: FlexJustify;
headerStyle: React.CSSProperties;
headerStyle?: React.CSSProperties;
justify?: FlexJustify;
vertical?: boolean;
};
Expand Down

0 comments on commit 0c2f491

Please sign in to comment.