Files
powerpoint-toolbox/node_modules/@fluentui/react-toolbar/lib/components/Toolbar/useToolbarContextValues.js
T
2025-03-07 19:22:02 +01:00

15 lines
418 B
JavaScript

export function useToolbarContextValues_unstable(state) {
const { size, handleToggleButton, vertical, checkedValues, handleRadio } = state;
// This context is created with "@fluentui/react-context-selector", these is no sense to memoize it
const toolbar = {
size,
vertical,
handleToggleButton,
handleRadio,
checkedValues
};
return {
toolbar
};
}