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 caf7961 commit 1ebe8fbCopy full SHA for 1ebe8fb
src/components/content/Text.tsx
@@ -115,6 +115,9 @@ const _Text = Object.assign(Text, {
115
<Text ref={ref} as="strong" preset="strong" color="#dark" {...props} />
116
);
117
}),
118
+ Emphasis: forwardRef(function StrongText(props: CubeTextProps<'em'>, ref) {
119
+ return <Text ref={ref} as="em" preset="em" color="#dark" {...props} />;
120
+ }),
121
Selection: forwardRef(function SelectionText(props: CubeTextProps, ref) {
122
return <Text ref={ref} color="#dark" fill="#note.30" {...props} />;
123
0 commit comments