"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _tools = require("../tools");

const baseStyle = props => {
  const {
    isInvalid
  } = props;
  const activeColor = (0, _tools.getColorFormColorScheme)(props);
  return {
    activeColor,
    borderColor: isInvalid ? 'danger.200' : 'muted.50',
    iconColor: 'light.200'
  };
};

const sizes = {
  lg: {
    size: 5
  },
  md: {
    size: 4
  },
  sm: {
    size: 3
  }
};
const defaultProps = {
  defaultIsChecked: false,
  size: 'md',
  colorScheme: 'default'
};
var _default = {
  baseStyle,
  sizes,
  defaultProps
};
exports.default = _default;
//# sourceMappingURL=radio.js.map