Files
supabase/apps/studio/components/interfaces/Organization/NewProject/NotOrganizationOwnerWarning.tsx
Ivan Vasilov 436bdb10ae chore: Move the studio app to apps/studio (#18915)
* Move all studio files from /studio to /apps/studio.

* Move studio specific prettier ignores.

* Fix the ui references from studio.

* Fix the css imports.

* Fix all package.json issues.

* Fix the prettier setup for the studio app.

* Add .turbo folder to prettierignore.

* Fix the github workflows.
2023-11-15 12:38:55 +01:00

26 lines
780 B
TypeScript

import { IconAlertCircle } from 'ui'
import InformationBox from 'components/ui/InformationBox'
// [Joshen] This can just use NoPermission component i think
const NotOrganizationOwnerWarning = () => {
return (
<div className="mt-4">
<InformationBox
icon={<IconAlertCircle className="text-white" size="large" strokeWidth={1.5} />}
defaultVisibility={true}
hideCollapse
title="You do not have permission to create a project"
description={
<div className="space-y-3">
<p className="text-sm leading-normal">
Contact your organization owner or administrator to create a new project.
</p>
</div>
}
/>
</div>
)
}
export default NotOrganizationOwnerWarning