Skip to content

Commit

Permalink
fix: FIXME: Clipboardicon in activity pages
Browse files Browse the repository at this point in the history
  • Loading branch information
naterfute committed Nov 19, 2024
1 parent 8089eec commit d35f104
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useState } from 'react';

import { Button } from '@/components/elements/button/index';
// FIXME: add icons back
import { Dialog } from '@/components/elements/dialog';
import MetaDataIcon from '@/components/elements/hugeicons/MetaData';

export default ({ meta }: { meta: Record<string, unknown> }) => {
const [open, setOpen] = useState(false);
Expand All @@ -28,8 +28,7 @@ export default ({ meta }: { meta: Record<string, unknown> }) => {
}
onClick={() => setOpen(true)}
>
FIXME: Clipboard Icon
{/* <ClipboardListIcon className={'w-5 h-5'} /> */}
<MetaDataIcon className={'w-5 h-5'} />
</button>
</div>
);
Expand Down
24 changes: 24 additions & 0 deletions resources/scripts/components/elements/hugeicons/MetaData.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { HugeIconProps } from './props';

const HugeIconsMetaData = (props: HugeIconProps) => {
return (
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' color='#000000' fill='none'>
<path
d='M7 11V11.5M5 4C5 2.89543 5.89543 2 7 2C8.07458 2 9 2.80976 9 3.91898C9 4.29783 8.88786 4.66821 8.67771 4.98344L7.5547 6.66795C7.19301 7.21049 7 7.84795 7 8.5'
stroke='currentColor'
strokeWidth='1.5'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M4 12L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5'
stroke='currentColor'
strokeWidth='1.5'
strokeLinecap='round'
strokeLinejoin='round'
/>
</svg>
);
};

export default HugeIconsMetaData;

0 comments on commit d35f104

Please sign in to comment.