import clsx from 'clsx';
import PropTypes from 'prop-types';
const SharingServiceExample = ( { image, label, single } ) => (
{ image ? (
) : null }
{ label }
);
SharingServiceExample.propTypes = {
image: PropTypes.shape( {
src: PropTypes.string,
alt: PropTypes.string,
} ),
label: PropTypes.node,
single: PropTypes.bool,
};
SharingServiceExample.defaultProps = {
single: false,
};
export default SharingServiceExample;