diff options
Diffstat (limited to 'packages/integrations/react/test/fixtures/react-component/src/components/CloneElement.jsx')
-rw-r--r-- | packages/integrations/react/test/fixtures/react-component/src/components/CloneElement.jsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/integrations/react/test/fixtures/react-component/src/components/CloneElement.jsx b/packages/integrations/react/test/fixtures/react-component/src/components/CloneElement.jsx new file mode 100644 index 000000000..809ac4aa4 --- /dev/null +++ b/packages/integrations/react/test/fixtures/react-component/src/components/CloneElement.jsx @@ -0,0 +1,6 @@ +import { cloneElement } from 'react'; + +const ClonedWithProps = (element) => (props) => + cloneElement(element, props); + +export default ClonedWithProps(<div id="cloned">Cloned With Props</div>); |