import React from 'react';
import { TileButton, TileWhiteButton, TileButtonSuccess, MagnifierImg, CheckImg, } from './style';
const ButtonKDS = ({ text, type = '', isIcon = false, setIsZoomIn, }) => {
    return type === 'white' ? (React.createElement(TileWhiteButton, { onClick: () => setIsZoomIn(true) },
        isIcon && React.createElement(MagnifierImg, null),
        text)) : type === 'large' ? (React.createElement(TileButtonSuccess, null,
        isIcon && React.createElement(CheckImg, null),
        text)) : (React.createElement(TileButton, null,
        isIcon && React.createElement(CheckImg, null),
        text));
};
export default ButtonKDS;
//# sourceMappingURL=index.js.map