import * as React from 'react'; import { ThemeProvider } from 'styled-components'; import StyledButton from './Button'; import StyledSpan from './Span'; import { ButtonProps } from './interfaces'; import * as themes from './themes'; const getTheme = (variant: string) => themes[variant]; const isTertiary = (variant: string = '') => variant === 'teriary' || variant === 'ecomTertiary'; const Loader = (props: any) =>
Loading
; const Button: React.FC