@taskingai/taskingai-markdown
v0.1.3
Published
```tsx import { useState } from "react"; import MarkdownMessage from "@taskingai/taskingai-markdown";
Downloads
345
Readme
Usage
import { useState } from "react";
import MarkdownMessage from "@taskingai/taskingai-markdown";
function App() {
const [message, setMessage] = useState("Hello, World!");
return (
<>
<textarea
value={message}
onChange={(e) => setMessage(e.target.value)}
rows={4}
cols={50}
/>
<hr />
<MarkdownMessage message={message} />
</>
);
}
export default App;