Source

components/extras/NoAccess.tsx

import * as React from 'react'
import { Alert, AlertType } from './Alert'

/**
 * NoAccess component presents an alert that indicates to the user that they do not have access to content.
 *
 * ```tsx
 * <NoAccess/>
 * ```
 * @component
 * @category Extras
 */
export const NoAccess = () => {
	return <Alert type={AlertType.ERROR}>You do not have access to this function</Alert>
}