Files
ncd-fe/src/components/markup.tsx
marcin mikołajczak 252b8f2ea5 Require newline
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-20 13:02:36 +02:00

12 lines
334 B
TypeScript

import React from 'react';
import Text, { IText } from './ui/text/text';
interface IMarkup extends IText {
}
/** Styles HTML markup returned by the API, such as in account bios and statuses. */
const Markup = React.forwardRef<any, IMarkup>((props, ref) => <Text ref={ref} {...props} data-markup />);
export { Markup as default };