MCPcopy Create free account
hub / github.com/microsoft/SandDance / KeytipData

Function KeytipData

docs/app/js/sanddance-app.js:34021–34028  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

34019var _index = require("../../utilities/keytips/index");
34020var _useKeytipData = require("./useKeytipData");
34021var KeytipData = function(props) {
34022 var _a;
34023 var children = props.children, keytipDataProps = (0, _tslib.__rest)(props, [
34024 "children"
34025 ]);
34026 var _b = (0, _useKeytipData.useKeytipData)(keytipDataProps), keytipId = _b.keytipId, ariaDescribedBy = _b.ariaDescribedBy;
34027 return children((_a = {}, _a[0, _index.DATAKTP_TARGET] = keytipId, _a[0, _index.DATAKTP_EXECUTE_TARGET] = keytipId, _a["aria-describedby"] = ariaDescribedBy, _a));
34028};
34029
34030},{"tslib":"01Tx1","../../utilities/keytips/index":"9cwIS","./useKeytipData":"ggrP8","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"9cwIS":[function(require,module,exports) {
34031var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

childrenFunction · 0.70

Tested by

no test coverage detected