Skip to content

Commit

Permalink
fixup! Refactor(web-react): Move away from the defaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Apr 9, 2024
1 parent 3f341d8 commit 8287c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-react/src/components/Heading/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useStyleProps } from '../../hooks';
import { SpiritHeadingProps } from '../../types';
import { useHeadingStyleProps } from './useHeadingStyleProps';

const defaultProps = {
const defaultProps: Partial<SpiritHeadingProps> = {
size: 'medium',
};

Expand Down

0 comments on commit 8287c3c

Please sign in to comment.