Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
13
node_modules/@mui/x-date-pickers/esm/internals/hooks/useToolbarOwnerState.js
generated
vendored
Normal file
13
node_modules/@mui/x-date-pickers/esm/internals/hooks/useToolbarOwnerState.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import _extends from "@babel/runtime/helpers/esm/extends";
|
||||
import * as React from 'react';
|
||||
import { useRtl } from '@mui/system/RtlProvider';
|
||||
import { usePickerPrivateContext } from "./usePickerPrivateContext.js";
|
||||
export function useToolbarOwnerState() {
|
||||
const {
|
||||
ownerState: pickerOwnerState
|
||||
} = usePickerPrivateContext();
|
||||
const isRtl = useRtl();
|
||||
return React.useMemo(() => _extends({}, pickerOwnerState, {
|
||||
toolbarDirection: isRtl ? 'rtl' : 'ltr'
|
||||
}), [pickerOwnerState, isRtl]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue