Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import Component from '../';
- const MyComponent = (props) => (
- <Component tag='div' render={(theme) => {
- // ...some logic with `theme`
- return props.children;
- }} {...props} />
- );
- export default MyComponent;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement