diff --git a/lib/src/file-input/types.ts b/lib/src/file-input/types.ts index b6488d341..ae5c10485 100644 --- a/lib/src/file-input/types.ts +++ b/lib/src/file-input/types.ts @@ -22,7 +22,7 @@ type FileData = { type CommonProps = { /** - * Name attribute. + * @deprecated Name attribute. */ name?: string; /** diff --git a/website/screens/components/file-input/code/FileInputCodePage.tsx b/website/screens/components/file-input/code/FileInputCodePage.tsx index 08cbccdc6..d8044c2c3 100644 --- a/website/screens/components/file-input/code/FileInputCodePage.tsx +++ b/website/screens/components/file-input/code/FileInputCodePage.tsx @@ -1,4 +1,9 @@ -import { DxcFlex, DxcTable, DxcLink } from "@dxc-technology/halstack-react"; +import { + DxcFlex, + DxcTable, + DxcLink, + DxcGrid, +} from "@dxc-technology/halstack-react"; import QuickNavContainerLayout from "@/common/QuickNavContainerLayout"; import QuickNavContainer from "@/common/QuickNavContainer"; import Code from "@/common/Code"; @@ -26,7 +31,12 @@ const sections = [ name: string - Name attribute. + + + Deprecated + Name attribute. + + mode: 'file' | 'filedrop' | 'dropzone'