diff --git a/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx b/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx new file mode 100644 index 00000000000..f0a12c1ee54 --- /dev/null +++ b/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx @@ -0,0 +1,71 @@ +import Table from 'components/to-be-cleaned/Table' +import { OAuthApp } from 'data/oauth/oauth-apps-query' +import dayjs from 'dayjs' +import { copyToClipboard } from 'lib/helpers' +import { useState } from 'react' +import { + Button, + Dropdown, + IconCheck, + IconClipboard, + IconEdit, + IconMoreVertical, + IconTrash, +} from 'ui' + +export interface OAuthAppRowProps { + app: OAuthApp + onSelectEdit: () => void + onSelectDelete: () => void +} + +const OAuthAppRow = ({ app, onSelectEdit, onSelectDelete }: OAuthAppRowProps) => { + const [isCopied, setIsCopied] = useState(false) + + return ( + + {app.name} + + {app.client_id} +