openreplay/frontend/app/components/ui/NoPermission/NoPermission.tsx
2021-12-08 20:36:38 +05:30

17 lines
No EOL
459 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import stl from './noPermission.css'
import { Icon } from 'UI';
interface Props {
}
function NoPermission(props: Props) {
return (
<div className={stl.wrapper}>
<Icon name="shield-lock" size="50" className="py-16"/>
<div className={ stl.title }>Not allowed</div>
You dont have the necessary permissions to access this feature. Please check with your admin.
</div>
);
}
export default NoPermission;