import React from "react"; import './button.css'; import Iconsvg from '../../Ui/Icon/Icon' type Props = { id: string, name: string, buttonLabel?: string, labelShow?: boolean, iconShow?: boolean, iconName?: any, iconPostions?: 'left' | 'right', buttonType: 'button' | 'submit', outlined?: boolean, disable?: boolean, size?: 'default' | 'small' | 'medium' | 'large', variant?: 'default' |'primary' | 'secondary', fullWidth?: boolean, rounded?: boolean, handleClick: () => void; } const Button = (props:Props) => { const {buttonLabel, labelShow, iconShow, iconName, iconPostions, buttonType, outlined, disable, size, variant, fullWidth, rounded, handleClick } = props; const IconLeft = iconPostions === 'left' ? : '' const IconRight = iconPostions === 'right' ? : '' return ( <> ); }; export default Button;