import React from 'react';
interface LabelOptionalProps {
show: boolean;
theme?: string;
}
const LabelOptional = ({ show, theme }: LabelOptionalProps) => {
if (show !== true) return ;
return (
{' (optional)'}
);
};
export default LabelOptional;
/* styles commented for reference
const Label = styled.sup`
color: ${v.colors.dark666};
font-size: 12px;
`;
*/