| 1 | "use client"; |
| 2 | |
| 3 | import { useAuthPlugin } from |
| 4 | import type { Organization |
| 5 | import { Settings as |
| 6 | import Link from "next/link |
| 7 | |
| 8 | import { Button } |
| 9 | import { Item, ItemActions |
| 10 | import { organizationPlugin } |
| 11 | import { OrganizationView } |
| 12 | |
| 13 | export type OrganizationRowProps |
| 14 | organization: Organization |
| 15 | }; |
| 16 | |
| 17 | export function OrganizationRow({ |
| 18 | const { localization |
| 19 | |
| 20 | return ( |
| 21 | <Item> |
| 22 | <OrganizationView className=" |
| 23 | <ItemActions> |
| 24 | <Button variant=" |
| 25 | <Link href={ |
| 26 | <SettingsIcon /> |
| 27 | {localization.manage} |
| 28 | </Link> |
| 29 | </Button> |
| 30 | </ItemActions> |
| 31 | </Item> |
| 32 | ); |
| 33 | } |