From dc31c8e76cd926df44d9a1da20378c8054ae5026 Mon Sep 17 00:00:00 2001 From: "s.spirkin" Date: Wed, 24 Jul 2024 18:47:10 +0300 Subject: [PATCH] =?UTF-8?q?[RF]=20Typography:=20=D1=83=D1=85=D0=BE=D0=B4?= =?UTF-8?q?=20=D0=BE=D1=82=20defaultProps=20=D0=B4=D0=BB=D1=8F=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=81=20nextjs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/desktop/src/main/ts/typography/Caption.tsx | 4 ---- packages/desktop/src/main/ts/typography/Heading.tsx | 4 ---- packages/desktop/src/main/ts/typography/Paragraph.tsx | 7 ------- packages/desktop/src/main/ts/typography/Title.tsx | 4 ---- packages/mobile/src/main/ts/typography/Caption.tsx | 4 ---- packages/mobile/src/main/ts/typography/Heading.tsx | 4 ---- packages/mobile/src/main/ts/typography/Paragraph.tsx | 7 ------- packages/mobile/src/main/ts/typography/Title.tsx | 4 ---- 8 files changed, 38 deletions(-) diff --git a/packages/desktop/src/main/ts/typography/Caption.tsx b/packages/desktop/src/main/ts/typography/Caption.tsx index 53303335b..d2f668820 100644 --- a/packages/desktop/src/main/ts/typography/Caption.tsx +++ b/packages/desktop/src/main/ts/typography/Caption.tsx @@ -64,7 +64,3 @@ export const Caption: FC = ({ ) Caption.displayName = 'Caption' - -Caption.defaultProps = { - color: 'support', -} diff --git a/packages/desktop/src/main/ts/typography/Heading.tsx b/packages/desktop/src/main/ts/typography/Heading.tsx index 502937d08..b05334461 100644 --- a/packages/desktop/src/main/ts/typography/Heading.tsx +++ b/packages/desktop/src/main/ts/typography/Heading.tsx @@ -131,7 +131,3 @@ export const Heading: FC = ({ ) Heading.displayName = 'Heading' - -Heading.defaultProps = { - color: 'default', -} diff --git a/packages/desktop/src/main/ts/typography/Paragraph.tsx b/packages/desktop/src/main/ts/typography/Paragraph.tsx index 6bac7bc37..8fbed6a34 100644 --- a/packages/desktop/src/main/ts/typography/Paragraph.tsx +++ b/packages/desktop/src/main/ts/typography/Paragraph.tsx @@ -141,10 +141,3 @@ export const Paragraph: FC = ({ ) Paragraph.displayName = 'Paragraph' - -Paragraph.defaultProps = { - size: 'm', - bold: false, - compact: false, - color: 'default', -} diff --git a/packages/desktop/src/main/ts/typography/Title.tsx b/packages/desktop/src/main/ts/typography/Title.tsx index 9bf1d7e8c..8f54a3962 100644 --- a/packages/desktop/src/main/ts/typography/Title.tsx +++ b/packages/desktop/src/main/ts/typography/Title.tsx @@ -100,7 +100,3 @@ export const Title: FC = ({ ) Title.displayName = 'Title' - -Title.defaultProps = { - color: 'default', -} diff --git a/packages/mobile/src/main/ts/typography/Caption.tsx b/packages/mobile/src/main/ts/typography/Caption.tsx index b1652713e..43f6028e6 100644 --- a/packages/mobile/src/main/ts/typography/Caption.tsx +++ b/packages/mobile/src/main/ts/typography/Caption.tsx @@ -49,7 +49,3 @@ export const Caption: FC = ({ ) Caption.displayName = 'Caption' - -Caption.defaultProps = { - color: 'support', -} diff --git a/packages/mobile/src/main/ts/typography/Heading.tsx b/packages/mobile/src/main/ts/typography/Heading.tsx index c510f22d7..b3e107688 100644 --- a/packages/mobile/src/main/ts/typography/Heading.tsx +++ b/packages/mobile/src/main/ts/typography/Heading.tsx @@ -115,7 +115,3 @@ export const Heading: FC = ({ ) Heading.displayName = 'Heading' - -Heading.defaultProps = { - color: 'default', -} diff --git a/packages/mobile/src/main/ts/typography/Paragraph.tsx b/packages/mobile/src/main/ts/typography/Paragraph.tsx index 9238a3594..e1b3e8ec3 100644 --- a/packages/mobile/src/main/ts/typography/Paragraph.tsx +++ b/packages/mobile/src/main/ts/typography/Paragraph.tsx @@ -132,10 +132,3 @@ export const Paragraph: FC = ({ ) Paragraph.displayName = 'Paragraph' - -Paragraph.defaultProps = { - size: 'm', - bold: false, - compact: false, - color: 'default', -} diff --git a/packages/mobile/src/main/ts/typography/Title.tsx b/packages/mobile/src/main/ts/typography/Title.tsx index 1c74f6901..5dd837f6f 100644 --- a/packages/mobile/src/main/ts/typography/Title.tsx +++ b/packages/mobile/src/main/ts/typography/Title.tsx @@ -91,7 +91,3 @@ export const Title: FC = ({ ) Title.displayName = 'Title' - -Title.defaultProps = { - color: 'default', -}