Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const GradientBtn = () => {
const styles = useGradientBtnStyles();
const chubbyStyles = useGradientBtnStyles({ chubby: true });
const gutterStyles = usePushingGutter({ cssProp: 'marginBottom', space: 2 });
return (
<div>
<div>
<button>Default</button>
</div>
<div>
<button>Chubby</button>
</div>
</div>
);
};
const GradientBtn = () => {
const styles = useGradientBtnStyles();
const chubbyStyles = useGradientBtnStyles({ chubby: true });
const gutterStyles = usePushingGutter({ cssProp: 'marginBottom', space: 2 });
return (
<div>
<div>
<button>Default</button>
</div>
<div>
<button>Chubby</button>
</div>
</div>
);
};