Skip to content

Commit

Permalink
Merge branch 'suffix-and-prefix' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Dec 10, 2024
2 parents 3c95972 + 3f1eb20 commit be6b691
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 191 deletions.
9 changes: 9 additions & 0 deletions src/common/AddonElement.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { memo } from "react";
import { theme } from "antd";
const { useToken } = theme;

export const AddonElement = memo(({ content }: { content: string }) => {
const { token } = useToken();
return <div style={{ color: token.colorTextDisabled }}>{content}</div>;
});
AddonElement.displayName = "AddonElement";
Loading

0 comments on commit be6b691

Please sign in to comment.