import { React, PropTypes } from '@gravityforms/libraries'; const { forwardRef } = React; /** * @module NoSuppressions * @description The NoSuppressions svg. * * @since 1.6.0 * * @param {object} props Component props. * @param {number} props.height The height of the logo. * @param {string} props.title The title of the logo. * @param {number} props.width The width of the logo. * @param {object|null} ref Ref to the component. * * @return {JSX.Element} The svg component. * @example * import NoSuppressions from '../no-suppressions'; * * return ( * * ); * */ const NoSuppressions = forwardRef( ( { height = 91, title = '', width = 390, }, ref ) => { return ( { title !== '' && { title } } ); } ); NoSuppressions.propTypes = { height: PropTypes.number, title: PropTypes.string, width: PropTypes.number, }; NoSuppressions.displayName = 'NoSuppressions'; export default NoSuppressions;