mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
Merge branch 'V2' into add_eslint_plugins_20250928
This commit is contained in:
commit
6627cad118
@ -15,7 +15,7 @@ interface AddFileCardProps {
|
|||||||
|
|
||||||
const AddFileCard = ({
|
const AddFileCard = ({
|
||||||
onFileSelect,
|
onFileSelect,
|
||||||
accept = "*/*",
|
accept,
|
||||||
multiple = true
|
multiple = true
|
||||||
}: AddFileCardProps) => {
|
}: AddFileCardProps) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|||||||
@ -15,7 +15,7 @@ interface FileUploadButtonProps {
|
|||||||
const FileUploadButton = ({
|
const FileUploadButton = ({
|
||||||
file,
|
file,
|
||||||
onChange,
|
onChange,
|
||||||
accept = "*/*",
|
accept,
|
||||||
disabled = false,
|
disabled = false,
|
||||||
placeholder,
|
placeholder,
|
||||||
variant = "outline",
|
variant = "outline",
|
||||||
|
|||||||
@ -41,7 +41,6 @@ const LandingPage = () => {
|
|||||||
{/* White PDF Page Background */}
|
{/* White PDF Page Background */}
|
||||||
<Dropzone
|
<Dropzone
|
||||||
onDrop={handleFileDrop}
|
onDrop={handleFileDrop}
|
||||||
accept={["*/*"]}
|
|
||||||
multiple={true}
|
multiple={true}
|
||||||
className="w-4/5 flex items-center justify-center h-[95%]"
|
className="w-4/5 flex items-center justify-center h-[95%]"
|
||||||
style={{
|
style={{
|
||||||
@ -178,7 +177,6 @@ const LandingPage = () => {
|
|||||||
ref={fileInputRef}
|
ref={fileInputRef}
|
||||||
type="file"
|
type="file"
|
||||||
multiple
|
multiple
|
||||||
accept="*/*"
|
|
||||||
onChange={handleFileSelect}
|
onChange={handleFileSelect}
|
||||||
style={{ display: 'none' }}
|
style={{ display: 'none' }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user