@carbon/react
Version:
React components for the Carbon Design System
25 lines (23 loc) • 838 B
JavaScript
/**
* Copyright IBM Corp. 2016, 2026
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const require_runtime = require("../_virtual/_rolldown/runtime.js");
const require_isRequiredOneOf = require("./isRequiredOneOf.js");
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);
//#region src/prop-types/AriaPropTypes.ts
/**
* Copyright IBM Corp. 2016, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const AriaLabelPropType = require_isRequiredOneOf.isRequiredOneOf({
"aria-label": prop_types.default.string,
"aria-labelledby": prop_types.default.string
});
//#endregion
exports.AriaLabelPropType = AriaLabelPropType;