I'm missing something here with the validation how to add types validation? Having error "element 'children' implicitly has an 'any' type".
import * as React from 'react';
import Button from './Styles';
const Button1 = ({ children, ...props }) => (
<Button {...props}>{children}</Button>
);
Button1.propTypes = {};
export default Button1;