File size: 506 Bytes
aa2e6af | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import { PlusIcon } from 'lucide-react';
import React from 'react';
import { Button } from '~/components/ui';
type UploadFileProps = {
onClick: () => void;
};
export default function UploadFileButton({ onClick }: UploadFileProps) {
return (
<div className="w-full">
<Button className="w-full bg-black px-3 text-white" onClick={onClick}>
<PlusIcon className="h-4 w-4 font-bold" />
<span className="text-nowrap">Upload New File</span>
</Button>
</div>
);
}
|