Skip to content

Commit

Permalink
feat: remove typography default props
Browse files Browse the repository at this point in the history
  • Loading branch information
Oakerin authored Jul 25, 2024
1 parent ba96539 commit 7e37854
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 38 deletions.
4 changes: 0 additions & 4 deletions packages/desktop/src/main/ts/typography/Caption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,3 @@ export const Caption: FC<CaptionProps> = ({
)

Caption.displayName = 'Caption'

Caption.defaultProps = {
color: 'support',
}
4 changes: 0 additions & 4 deletions packages/desktop/src/main/ts/typography/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,3 @@ export const Heading: FC<HeadingProps> = ({
)

Heading.displayName = 'Heading'

Heading.defaultProps = {
color: 'default',
}
7 changes: 0 additions & 7 deletions packages/desktop/src/main/ts/typography/Paragraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,3 @@ export const Paragraph: FC<ParagraphProps> = ({
)

Paragraph.displayName = 'Paragraph'

Paragraph.defaultProps = {
size: 'm',
bold: false,
compact: false,
color: 'default',
}
4 changes: 0 additions & 4 deletions packages/desktop/src/main/ts/typography/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,3 @@ export const Title: FC<TitleProps> = ({
)

Title.displayName = 'Title'

Title.defaultProps = {
color: 'default',
}
4 changes: 0 additions & 4 deletions packages/mobile/src/main/ts/typography/Caption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,3 @@ export const Caption: FC<CaptionProps> = ({
)

Caption.displayName = 'Caption'

Caption.defaultProps = {
color: 'support',
}
4 changes: 0 additions & 4 deletions packages/mobile/src/main/ts/typography/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,3 @@ export const Heading: FC<HeadingProps> = ({
)

Heading.displayName = 'Heading'

Heading.defaultProps = {
color: 'default',
}
7 changes: 0 additions & 7 deletions packages/mobile/src/main/ts/typography/Paragraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,3 @@ export const Paragraph: FC<ParagraphProps> = ({
)

Paragraph.displayName = 'Paragraph'

Paragraph.defaultProps = {
size: 'm',
bold: false,
compact: false,
color: 'default',
}
4 changes: 0 additions & 4 deletions packages/mobile/src/main/ts/typography/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,3 @@ export const Title: FC<TitleProps> = ({
)

Title.displayName = 'Title'

Title.defaultProps = {
color: 'default',
}

0 comments on commit 7e37854

Please sign in to comment.