UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

27 lines (24 loc) 594 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveStackStyleInput = void 0; const resolveStackStyleInput = (variant, color) => { if (variant === 'underlined') { return { outlineWidth: '0', boxShadow: "0 1px 0 0 ".concat(color) }; } else if (variant === 'unstyled') { return { outlineWidth: 0 }; } else { return { outlineWidth: '0', boxShadow: "0 0 0 1px ".concat(color) }; } }; exports.resolveStackStyleInput = resolveStackStyleInput; //# sourceMappingURL=resolveStackStyleInput.js.map