import React from 'react';
import PropTypes from 'prop-types';
import ReactMarkdown from 'react-markdown';
import {
TypographyVariant,
OVERFLOW_WRAP,
} from '../../../../helpers/constants/design-system';
import Typography from '../../../ui/typography/typography';
const Paragraph = (props) => (
);
export const SnapUIMarkdown = ({ children, markdown }) => {
if (markdown === false) {
return {children};
}
return (
{children}
);
};
SnapUIMarkdown.propTypes = {
children: PropTypes.string,
markdown: PropTypes.bool,
};