mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-18 17:49:10 +00:00
parent
d8aa70cca4
commit
4aef16b849
|
@ -1,4 +1,5 @@
|
|||
import { Database, DotsSixVertical, Pencil, Trash } from 'phosphor-react';
|
||||
import { Database } from '@sd/assets/icons';
|
||||
import { Pencil, Trash } from 'phosphor-react';
|
||||
import { LibraryConfigWrapped } from '@sd/client';
|
||||
import { Button, ButtonLink, Card, Tooltip, dialogManager, tw } from '@sd/ui';
|
||||
import DeleteDialog from './DeleteDialog';
|
||||
|
@ -11,8 +12,9 @@ interface Props {
|
|||
}
|
||||
|
||||
export default (props: Props) => (
|
||||
<Card>
|
||||
<DotsSixVertical weight="bold" className="mt-[15px] mr-3 opacity-30" />
|
||||
<Card className="items-center">
|
||||
{/* <DotsSixVertical weight="bold" className="mt-[15px] mr-3 opacity-30" /> */}
|
||||
<img className="mr-3" width={30} height={30} src={Database} alt="Database icon" />
|
||||
<div className="my-0.5 flex-1">
|
||||
<h3 className="font-semibold">
|
||||
{props.library.config.name}
|
||||
|
@ -21,11 +23,11 @@ export default (props: Props) => (
|
|||
<p className="mt-0.5 text-xs text-ink-dull">{props.library.uuid}</p>
|
||||
</div>
|
||||
<div className="flex flex-row items-center space-x-2">
|
||||
<Button className="!p-1.5" variant="gray">
|
||||
{/* <Button className="!p-1.5" variant="gray">
|
||||
<Tooltip label="TODO">
|
||||
<Database className="h-4 w-4" />
|
||||
</Tooltip>
|
||||
</Button>
|
||||
</Button> */}
|
||||
<ButtonLink
|
||||
className="!p-1.5"
|
||||
to={`/${props.library.uuid}/settings/library/general`}
|
||||
|
|
Loading…
Reference in a new issue