16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
import Text, { IText } from './ui/text/text';
|
||
|
import './markup.css';
|
||
|
|
||
|
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) => {
|
||
|
return (
|
||
|
<Text ref={ref} {...props} data-markup />
|
||
|
);
|
||
|
});
|
||
|
|
||
|
export default Markup;
|