UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

29 lines (22 loc) 660 B
/** * Copyright IBM Corp. 2020, 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. */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var React = require('react'); // Copyright IBM Corp. 2022, 2022 // // 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 useParentSelect = () => { const [parentSelected, setParentSelected] = React.useState(null); return { parentSelected, setParentSelected }; }; exports.default = useParentSelect;