Error when using 'type' property on a smooth-ui styled-components Button component.
Error
```
Type '{ children: string; type: string; }' is not assignable to type 'IntrinsicAttributes & ButtonProps & { children?: reactNode; }'.
Property 'type' does not exist on type 'IntrinsicAttributes & ButtonProps & { children?: ReactNode; }'
```
To Reproduce
import { Button } from '@smooth-ui/core-sc';
function SubmitButton() {
return <Button type="submit">Test</Button>;
}
π Bug Report
Error when using 'type' property on a
smooth-ui
styled-componentsButton
component.Error
``` Type '{ children: string; type: string; }' is not assignable to type 'IntrinsicAttributes & ButtonProps & { children?: reactNode; }'. Property 'type' does not exist on type 'IntrinsicAttributes & ButtonProps & { children?: ReactNode; }' ```To Reproduce
Expected behavior
No error to be raised
Link to repl or repo
https://codesandbox.io/s/k9479j5mx7
Run
npx envinfo --system --binaries --npmPackages @smooth-ui/core-sc,@smooth-ui/core-em,styled-components,@emotion/core,@emotion/styled,emotion-theming --markdown --clipboard
Paste the results here: