Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewshaver committed Nov 20, 2024
1 parent 3e08323 commit 82617b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import clsx from 'clsx';

const ColoredText = ({ color, className, children }) => (
const TextColor = ({ color, className, children }) => (
<span style={color ? { color } : {}} className={clsx(className)}>
{children}
</span>
);

export default ColoredText;
export default TextColor;
2 changes: 1 addition & 1 deletion website/src/theme/MDXComponents/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import Lifecycle from '@site/src/components/lifeCycle';
import DetailsToggle from '@site/src/components/detailsToggle';
import Expandable from '@site/src/components/expandable';
import ConfettiTrigger from '@site/src/components/confetti/';
import ColoredText from '@site/src/components/ColoredText';
import TextColor from '@site/src/components/TextColor';

const MDXComponents = {
Head,
Expand Down

0 comments on commit 82617b6

Please sign in to comment.