diff options
Diffstat (limited to 'integration/snippets/spread_with_key.tsx')
-rw-r--r-- | integration/snippets/spread_with_key.tsx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/integration/snippets/spread_with_key.tsx b/integration/snippets/spread_with_key.tsx deleted file mode 100644 index 9c26ea5ba..000000000 --- a/integration/snippets/spread_with_key.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react"; - -export function SpreadWithTheKey({ className }: Props) { - const rest = {}; - return ( - <div - className={className} - key="spread-with-the-key" - {...rest} - onClick={() => console.log("click")} - > - Rendered component containing warning - </div> - ); -} - -export function test() { - console.assert(React.isValidElement(<SpreadWithTheKey className="foo" />)); - return testDone(import.meta.url); -} |