UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

14 lines (13 loc) 461 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useSelectCard = void 0; const common_1 = require("@workday/canvas-kit-react/common"); const useSelectModel_1 = require("./useSelectModel"); /** * Sets the width of the ` SelectCard` to the `Select.Input` width. */ exports.useSelectCard = (0, common_1.createElemPropsHook)(useSelectModel_1.useSelectModel)(model => { return { width: model.state.width, }; });