26 lines
492 B
TypeScript
26 lines
492 B
TypeScript
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
import { __ } from '@wordpress/i18n';
|
||
|
import { Card, CardBody } from '@wordpress/components';
|
||
|
import { Text } from '@woocommerce/experimental';
|
||
|
|
||
|
const NoMatch: React.FC = () => {
|
||
|
return (
|
||
|
<div className="woocommerce-layout__no-match">
|
||
|
<Card>
|
||
|
<CardBody>
|
||
|
<Text>
|
||
|
{ __(
|
||
|
'Sorry, you are not allowed to access this page.',
|
||
|
'woocommerce-admin'
|
||
|
) }
|
||
|
</Text>
|
||
|
</CardBody>
|
||
|
</Card>
|
||
|
</div>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export { NoMatch };
|