import React, { ReactElement } from 'react' import styled from 'styled-components' import { DefaultInterface } from "./../../common/helpers/Theme" import { CustomComponent } from "../" function NavBase(props: DefaultInterface): ReactElement { const { children } = props const newProps = Object.assign({}, {...props}) delete newProps.children delete newProps.themed delete newProps.native return ( ) } const Component: React.FunctionComponent = styled(NavBase)`` export const Nav: React.FunctionComponent = (navProps): ReactElement => { const { native = false } = navProps return !native ? } /> : }