import React from 'react';
import PropTypes from 'prop-types';
import ReactMarkdown from 'react-markdown';
import {
TextVariant,
OverflowWrap,
} from '../../../../helpers/constants/design-system';
import { Text } from '../../../component-library';
const Paragraph = (props) => (
);
export const SnapUIMarkdown = ({ children, markdown }) => {
if (markdown === false) {
return {children};
}
return (
{children}
);
};
SnapUIMarkdown.propTypes = {
children: PropTypes.string,
markdown: PropTypes.bool,
};