import React, { ReactElement } from 'react' import styled from 'styled-components' import { DefaultInterface } from "./../../common/helpers/Theme" import { CustomComponent } from "../" function ListBase(props: DefaultInterface): ReactElement { const { children, tag } = props const newProps = Object.assign({}, {...props}) delete newProps.children delete newProps.tag delete newProps.themed delete newProps.native if (tag === 'ol') { return (