@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
14 lines (13 loc) • 471 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.usePopupHeading = void 0;
const common_1 = require("@workday/canvas-kit-react/common");
const usePopupModel_1 = require("./usePopupModel");
/**
* Adds the necessary props to the {@link PopupHeading Popup.Heading} subcomponent.
*/
exports.usePopupHeading = (0, common_1.createElemPropsHook)(usePopupModel_1.usePopupModel)(({ state }) => {
return {
id: state.id,
};
});
;