mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
implement parseTextNote
This commit is contained in:
11
src/components/textNote/PlainTextDisplay.tsx
Normal file
11
src/components/textNote/PlainTextDisplay.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { PlainText } from '@/core/parseTextNote';
|
||||
|
||||
export type PlainTextDisplayProps = {
|
||||
plainText: PlainText;
|
||||
};
|
||||
|
||||
const PlainTextDisplay = (props: PlainTextDisplayProps) => {
|
||||
return <span>{props.plainText.content}</span>;
|
||||
};
|
||||
|
||||
export default PlainTextDisplay;
|
||||
Reference in New Issue
Block a user