react-native-animated-radio-button
Version:
Fully customizable animated radio button for React Native
23 lines • 683 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._innerStyle = void 0;
const react_native_1 = require("react-native");
const _innerStyle = (isActive, innerBackgroundColor) => ({
width: 30,
height: 30,
borderRadius: 25,
backgroundColor: isActive ? innerBackgroundColor : "transparent",
});
exports._innerStyle = _innerStyle;
exports.default = react_native_1.StyleSheet.create({
container: {
width: 50,
height: 50,
borderWidth: 6,
borderRadius: 25,
borderColor: "red",
alignItems: "center",
justifyContent: "center",
},
});
//# sourceMappingURL=RadioButton.style.js.map