From a770e55520245b7afc2b7a30aa6127eebcb6ea0d Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 22 Sep 2024 14:56:19 +0000 Subject: feature(web): Show attachments and allow users to manipulate them. --- apps/web/components/ui/file-picker-button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/web/components/ui/file-picker-button.tsx') diff --git a/apps/web/components/ui/file-picker-button.tsx b/apps/web/components/ui/file-picker-button.tsx index ccac1643..95e7bbcd 100644 --- a/apps/web/components/ui/file-picker-button.tsx +++ b/apps/web/components/ui/file-picker-button.tsx @@ -1,8 +1,8 @@ import React, { ChangeEvent, useRef } from "react"; -import { Button, ButtonProps } from "./button"; +import { ActionButton, ActionButtonProps } from "./action-button"; -interface FilePickerButtonProps extends Omit { +interface FilePickerButtonProps extends Omit { onFileSelect?: (file: File) => void; accept?: string; multiple?: boolean; @@ -35,7 +35,7 @@ const FilePickerButton: React.FC = ({ return (
-