UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

18 lines 421 B
export 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) }; } }; //# sourceMappingURL=resolveStackStyleInput.js.map