Buckets:
| import React from "react"; | |
| import serialize from "./serialize"; | |
| import classes from "./index.module.scss"; | |
| const RichText: React.FC<{ className?: string; content: any }> = ({ | |
| className, | |
| content, | |
| }) => { | |
| if (!content) { | |
| return null; | |
| } | |
| return ( | |
| <div className={[classes.richText, className].filter(Boolean).join(" ")}> | |
| {serialize(content)} | |
| </div> | |
| ); | |
| }; | |
| export default RichText; | |
Xet Storage Details
- Size:
- 410 Bytes
- Xet hash:
- 028bbde9de22a35639a7c3d238656688aa16a0339beff39801f6ccc2306f8a1e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.