From d7d38e0b283ad8f6db26829e600362e8e3d7faf9 Mon Sep 17 00:00:00 2001 From: Pavel Klibani Date: Fri, 8 Sep 2023 09:41:34 +0200 Subject: [PATCH] fixup! fixup! Docs(web-react): Add FileUploader demo #DS-896 --- packages/web-react/docs/DocsSections.tsx | 2 +- .../demo/FileUploaderAttachmentWithCustomAction.tsx | 1 - .../demo/FileUploaderAttachmentWithImagePreview.tsx | 1 - .../src/components/FileUploader/demo/FileUploaderDefault.tsx | 1 - .../FileUploader/demo/FileUploaderDraggingNotAvailable.tsx | 1 - .../FileUploader/demo/FileUploaderExampleOfJSControlledForm.tsx | 1 - .../src/components/FileUploader/demo/FileUploaderFluidWidth.tsx | 1 - .../components/FileUploader/demo/FileUploaderInputDisabled.tsx | 1 - .../components/FileUploader/demo/FileUploaderInputMultiple.tsx | 1 - .../FileUploaderInputMultipleWithFileQueueBehaviorControl.tsx | 1 - .../FileUploader/demo/FileUploaderInputWithAttachment.tsx | 1 - .../FileUploader/demo/FileUploaderMultipleWithValidation.tsx | 1 - 12 files changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/web-react/docs/DocsSections.tsx b/packages/web-react/docs/DocsSections.tsx index b4c3307855..18660fa83b 100644 --- a/packages/web-react/docs/DocsSections.tsx +++ b/packages/web-react/docs/DocsSections.tsx @@ -3,8 +3,8 @@ import { Tag } from '../src/components'; interface DocsSectionProps { children: ReactNode; - title: string; tag?: string; + title: string; } const DocsSection = ({ children, title, tag }: DocsSectionProps) => ( diff --git a/packages/web-react/src/components/FileUploader/demo/FileUploaderAttachmentWithCustomAction.tsx b/packages/web-react/src/components/FileUploader/demo/FileUploaderAttachmentWithCustomAction.tsx index 8320281b64..486daef4a0 100644 --- a/packages/web-react/src/components/FileUploader/demo/FileUploaderAttachmentWithCustomAction.tsx +++ b/packages/web-react/src/components/FileUploader/demo/FileUploaderAttachmentWithCustomAction.tsx @@ -35,7 +35,6 @@ const FileUploaderAttachmentWithCustomAction = () => { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" />
{ name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" isDisabled isRequired /> diff --git a/packages/web-react/src/components/FileUploader/demo/FileUploaderInputMultiple.tsx b/packages/web-react/src/components/FileUploader/demo/FileUploaderInputMultiple.tsx index 886520b028..f418971ea3 100644 --- a/packages/web-react/src/components/FileUploader/demo/FileUploaderInputMultiple.tsx +++ b/packages/web-react/src/components/FileUploader/demo/FileUploaderInputMultiple.tsx @@ -28,7 +28,6 @@ const FileUploaderInputMultiple = () => { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" isMultiple /> { /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} queueLimitBehavior="hide" - validationText="Validation message" /> { name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" />
{ name="attachments" /* eslint-disable-next-line no-console */ onError={(error) => console.error('My error log', error)} - validationText="Validation message" />