import { IButton } from './Button.interface' import React from 'react' import { StyledButton } from './Button.theme' const Button = ({ id, as = 'a', variant, theme, size, outlined, leftIcon, rightIcon, removeLabel, className, href, ariaLabel, rel, target, disabled, type, children, onClick, ...props }: IButton) => { return ( {leftIcon} {children && {children}} {rightIcon} ) } export default Button