import PropTypes from 'prop-types';
export default function DataInputComponent(props) {
const {
html,
title,
value,
onChange,
className,
...rest
} = props;
return (
{html ? (
{/* eslint-disable-next-line react/no-danger */}
) : (
);
}
DataInputComponent.propTypes = {
title: PropTypes.node,
value: PropTypes.string,
onChange: PropTypes.func,
className: PropTypes.string,
};