Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* WordPress dependencies
*/
import { StyledPrimitives, styled } from '@wordpress/components';
const Button = styled( StyledPrimitives.Button )`
&:hover {
text-decoration: underline;
cursor: pointer;
color: ${ ( props ) => props.theme.colors.primary };
}
&:focus{
outline: none;
outline-offset: -2px;
box-shadow: none;
}
`;
export default function BlockBreadcrumbButton( { children, ...props } ) {
return
/**
* WordPress dependencies
*/
import { StyledPrimitives, styled } from '@wordpress/components';
const Button = styled( StyledPrimitives.Button )`
&:hover {
text-decoration: underline;
cursor: pointer;
color: ${ ( props ) => props.theme.colors.primary };
}
&:focus{
outline: none;
outline-offset: -2px;
box-shadow: none;
}
`;
export default function BlockBreadcrumbButton( { children, ...props } ) {
return