diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 034b16d880..9937cb0299 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -1669,6 +1669,7 @@ declare namespace React { style?: CSSProperties; tabIndex?: number; title?: string; + translate?: 'yes' | 'no'; // Unknown radioGroup?: string; // , diff --git a/types/react/test/elementAttributes.tsx b/types/react/test/elementAttributes.tsx new file mode 100644 index 0000000000..01cc600c41 --- /dev/null +++ b/types/react/test/elementAttributes.tsx @@ -0,0 +1,29 @@ +import * as React from 'react'; + +const testCases = [ + , + , + , + , + , + , + , +