Skip to content

Commit 9d69741

Browse files
authored
Merge pull request #13017 from ethereum/delete-unused-components
Clean unused components
2 parents f166688 + 2617a5d commit 9d69741

File tree

3 files changed

+4
-87
lines changed

3 files changed

+4
-87
lines changed

src/components/MdComponents.tsx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -208,29 +208,6 @@ export const ContentContainer = (props: Pick<BoxProps, "id" | "children">) => {
208208
)
209209
}
210210

211-
export const InfoColumn = (props: ChildOnlyProp) => (
212-
<Flex
213-
as="aside"
214-
flexDirection="column"
215-
flex="0 1 400px"
216-
ms={8}
217-
me={16}
218-
position="sticky"
219-
top="6.25rem"
220-
height={calc("100vh").subtract("80px").toString()}
221-
{...props}
222-
/>
223-
)
224-
225-
export const InfoTitle = (props: ChildOnlyProp) => (
226-
<Heading2
227-
fontSize={{ base: "2.5rem", lg: "5xl" }}
228-
textAlign={{ base: "start", lg: "end" }}
229-
mt={0}
230-
{...props}
231-
/>
232-
)
233-
234211
export const MobileButton = (props: ChildOnlyProp) => {
235212
const borderColor = useToken("colors", "border")
236213
return (
@@ -278,8 +255,6 @@ export const reactComponents = {
278255
FeaturedText,
279256
GlossaryTooltip,
280257
InfoBanner,
281-
InfoColumn,
282-
InfoTitle,
283258
MobileButton,
284259
MobileButtonDropdown,
285260
Page,

src/components/Pill.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ export type PillProps = FlexProps & {
88
color?: string
99
}
1010

11+
/**
12+
* @deprecated To be removed in favor of Tag or Badge component
13+
*
14+
*/
1115
const Pill = ({
1216
children,
1317
className,

src/components/SharedStyledComponents.tsx

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)