UNPKG

@botonic/react

Version:

Build Chatbots using React

40 lines (38 loc) 1.69 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledUrlImage = exports.StyledButton = void 0; const tslib_1 = require("tslib"); const styled_components_1 = tslib_1.__importDefault(require("styled-components")); exports.StyledButton = styled_components_1.default.button ` display: flex; justify-content: center; align-content: center; gap: 6px; cursor: pointer; width: ${props => props.theme.button?.style?.width}; max-height: ${props => props.theme.button?.style?.maxHeight}; height: ${props => props.theme.button?.style?.height}; font-family: ${props => props.theme.style?.fontFamily}; font-size: ${props => props.theme.button?.style?.fontSize}; font-weight: ${props => props.theme.button?.style?.fontWeight}; background: ${props => props.theme.button?.style?.background}; color: ${props => props.theme.button?.style?.color}; outline: ${props => props.theme.button?.style?.outline}; border: ${props => props.theme.button?.style?.border}; border-radius: ${props => props.theme.button?.style?.borderRadius}; padding: ${props => props.theme.button?.style?.padding}; overflow: ${props => props.theme.button?.style?.overflow}; &:hover { background: ${props => props.theme.button?.hoverBackground}; color: ${props => props.theme.button?.hoverTextColor}; } &:disabled { opacity: ${props => props.theme.button?.disabledstyle?.opacity}; cursor: ${props => props.theme.button?.disabledstyle?.cursor}; pointer-events: ${props => props.theme.button?.disabledstyle?.pointerEvents}; } `; exports.StyledUrlImage = styled_components_1.default.img ` width: 20px; `; //# sourceMappingURL=styles.js.map