Since React 16 now allows custom DOM attributes, I tried to leverage this in my Typescript code:
import * as React from \'react\';
If you are using styled-components, you can do it even simplier:
const App = props => { return My custom div } type Custom = { version?: number } const StyledDiv = styled.div` // styles `