import React, { ReactElement } from 'react' import styled from 'styled-components' import { CustomComponent } from "../" import { DefaultInterface } from "../../common/helpers/Theme" interface FormBaseInterface extends DefaultInterface { onSubmit?: any } function FormBase(props: FormBaseInterface): ReactElement { const { children } = props const newProps = Object.assign({}, {...props}) delete newProps.children delete newProps.themed delete newProps.native return (
) } const Component = styled(FormBase)`` export const Form: React.FunctionComponent