Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const NavButton = (props) => {
const theme = props.theme || AmplifyTheme;
const style = propStyle(props, theme.navButton);
const p = JS.objectLessAttributes(props, 'theme');
return beforeAfter(
<button style="{style}">
{beforeAfter(
<span>{props.children}</span>
)}
</button>
);
};