Skip to content

Commit

Permalink
fix: 🐛 [docs] jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXmeijin committed Feb 6, 2024
1 parent f921b0b commit b28f926
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Text/Text.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import { FC, PropsWithChildren } from 'react'

/**
* こちらのTextコンポーネントだけ使って、RichTextEditorがTree ShakingでBundleに含まれなければ成功
* @param children
* @constructor
*/

export const Text: FC<PropsWithChildren> = ({ children }) => <span>{children}</span>

0 comments on commit b28f926

Please sign in to comment.