import PropTypes from 'prop-types'; import { SVGProps } from 'react'; interface SVGRProps { title?: string; titleId?: string; size?: string; } const Poison = ({ title, titleId, ...props }: SVGProps & SVGRProps) => { return ( {title ? {title} : null} ); }; Poison.propTypes = { title: PropTypes.string, }; export default Poison;