We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5f96a commit 9ac6b38Copy full SHA for 9ac6b38
src/components/common/text/Highlight.tsx
@@ -0,0 +1,5 @@
1
+export const Highlight = ({
2
+ children,
3
+}: React.PropsWithChildren): JSX.Element => {
4
+ return <span className={'text-primary-normal'}>{children}</span>
5
+}
src/components/common/text/Text.tsx
@@ -1,5 +1,4 @@
import clsx from 'clsx'
-import React from 'react'
type Variant =
| 'heading1'
src/components/common/text/index.tsx
@@ -1,3 +1,4 @@
+import { Highlight } from './Highlight'
import { Text } from './Text'
-export { Text }
+export { Text, Highlight }
0 commit comments