Add company name and logo to documents

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-10-08 16:04:27 +02:00
parent 9bdecdf232
commit d757c9604b
23 changed files with 1391 additions and 203 deletions

View File

@@ -20,13 +20,20 @@ export function FileButton({
children,
icon: IconComponent,
ref,
accept,
...props
}: Props) {
return (
<label className={button({ ...props })}>
{IconComponent && <IconComponent size={16} className="flex-none" />}
{children}
<input type="file" onChange={onChange} hidden ref={ref} />
<input
type="file"
onChange={onChange}
hidden
ref={ref}
{...(accept && { accept })}
/>
</label>
);
}