Skip to content

Commit

Permalink
fixup! fixup! Docs(web-react): Add FileUploader demo #DS-896
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelklibani committed Sep 8, 2023
1 parent a0da6fb commit d7d38e0
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion packages/web-react/docs/DocsSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const FileUploaderAttachmentWithImagePreview = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const FileUploaderDefault = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const FileUploaderDraggingNotAvailable = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const FileUploaderExampleOfJSControlledForm = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const FileUploaderFluidWidth = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<div className="FileUploaderList">
<FileUploaderAttachment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const FileUploaderInputDisabled = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
isDisabled
isRequired
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
/>
<FileUploaderList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const FileUploaderInputMultipleWithFileQueueBehaviorControl = () => {
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
queueLimitBehavior="hide"
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const FileUploaderInputWithAttachment = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<div className="FileUploaderList">
<FileUploaderAttachment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const FileUploaderMultipleWithValidation = () => {
name="attachments"
/* eslint-disable-next-line no-console */
onError={(error) => console.error('My error log', error)}
validationText="Validation message"
/>
<FileUploaderList
attachmentComponent={attachmentComponent}
Expand Down

0 comments on commit d7d38e0

Please sign in to comment.