2023-01-27 17:31:13 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { useBlockProps } from '@wordpress/block-editor';
|
|
|
|
import { Disabled } from '@wordpress/components';
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
|
|
|
|
export interface Attributes {
|
|
|
|
className?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Edit = () => {
|
|
|
|
const blockProps = useBlockProps( {
|
|
|
|
className: 'woocommerce wc-block-breadcrumbs',
|
|
|
|
} );
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div { ...blockProps }>
|
|
|
|
<Disabled>
|
|
|
|
<a href="/">
|
2023-12-12 22:12:36 +00:00
|
|
|
{ __( 'Breadcrumbs', 'woocommerce' ) }
|
2023-01-27 17:31:13 +00:00
|
|
|
</a>
|
2023-12-12 22:12:36 +00:00
|
|
|
{ __( ' / Navigation / Path', 'woocommerce' ) }
|
2023-01-27 17:31:13 +00:00
|
|
|
</Disabled>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Edit;
|