@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
22 lines (14 loc) • 611 B
JavaScript
/**
* MSKCC 2021, 2024
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
var PropTypes = require('prop-types');
var isRequiredOneOf = require('./isRequiredOneOf.js');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
const AriaLabelPropType = isRequiredOneOf["default"]({
'aria-label': PropTypes__default["default"].string,
'aria-labelledby': PropTypes__default["default"].string
});
exports.AriaLabelPropType = AriaLabelPropType;