refactor: replace ui components with plane ui components (#2626)

* refactor: replace button component with plane ui component and remove old button component

* refactor: replace dropdown component with plane ui component

* refactor: replace tooltip, input, textarea, spinner and loader component with plane ui component

* refactor: plane ui code refactor
This commit is contained in:
Anmol Singh Bhatia 2023-11-03 17:21:38 +05:30 committed by GitHub
parent 737fea28c6
commit f639e467f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 85 additions and 178 deletions

View file

@ -4,7 +4,7 @@ import Link from "next/link";
import useSWR from "swr";
import { observer } from "mobx-react-lite";
// icons
import { Spinner, PrimaryButton, SecondaryButton } from "components/ui";
import { Button, Spinner } from "@plane/ui";
// hooks
import { useMobxStore } from "lib/mobx/store-provider";
@ -67,12 +67,16 @@ export const WorkspaceAuthWrapper: FC<IWorkspaceAuthWrapper> = observer((props)
<div className="flex items-center justify-center gap-2">
<Link href="/invitations">
<a>
<SecondaryButton>Check pending invites</SecondaryButton>
<Button variant="neutral-primary" size="sm">
Check pending invites
</Button>
</a>
</Link>
<Link href="/create-workspace">
<a>
<PrimaryButton>Create new workspace</PrimaryButton>
<Button variant="primary" size="sm">
Create new workspace
</Button>
</a>
</Link>
</div>