diff --git a/types/carbon-components-react/carbon-components-react-tests.tsx b/types/carbon-components-react/carbon-components-react-tests.tsx index e248e933ab..7f6eaba0da 100644 --- a/types/carbon-components-react/carbon-components-react-tests.tsx +++ b/types/carbon-components-react/carbon-components-react-tests.tsx @@ -18,6 +18,9 @@ import { TooltipDefinition, TextArea, TextInput, + FormItem, + FileUploaderDropContainer, + FileUploaderItem, } from 'carbon-components-react'; import Link from 'carbon-components-react/lib/components/UIShell/Link'; @@ -182,12 +185,12 @@ interface T5RowType extends DataTableRow { col2: number; } const t5RowItems: T5RowType[] = [ - { id: "row0", col1: 0, col2: 0}, - { id: "row1", col1: 1, col2: 1}, + { id: "row0", col1: 0, col2: 0 }, + { id: "row1", col1: 1, col2: 1 }, ]; const t5Headers: DataTableHeader[] = [ - {key: 'col1', header: 'First column'}, - {key: 'col2', header: 'Second column'} + { key: 'col1', header: 'First column' }, + { key: 'col2', header: 'Second column' } ]; const t5 = ( { render() { - return (
); + return (
); } } -const TestComp2 = (props: TestCompProps) => (
); +const TestComp2 = (props: TestCompProps) => (
); const uisLinkT1 = ( Test ); const uisLinkT2 = ( - > element="img" src="src"/> + > element="img" src="src" /> ); const uisLinkT3 = ( element={TestComp1} someProp={2}>ASDF @@ -265,7 +268,7 @@ interface TestCompPropsOverwrite { someProp: string, } -const TestComp3 = (props: TestCompPropsOverwrite) => (
); +const TestComp3 = (props: TestCompPropsOverwrite) => (
); const uisLinkT5 = ( element={TestComp3} someProp="asdf">Testing Overwrite @@ -287,7 +290,7 @@ const dropdownItemCanBeElement = ( // TileGroup // Value nor name can be undefined -let value: string|number = 5; +let value: string | number = 5; let name = "old name"; const tileGroupA = ( {}} - handleTabClick={() => {}} - handleTabKeyDown={() => {}} + handleTabAnchorFocus={() => { }} + handleTabClick={() => { }} + handleTabKeyDown={() => { }} href="#" tabIndex={0} disabled @@ -332,7 +335,7 @@ const SliderHasOnChange = ( // TextArea const textAreaWithDefaultRef = ( -