Files
volleyball-dev-frontend/node_modules/react-day-picker/src/components/Months/Months.tsx
2025-06-02 16:42:16 +00:00

20 lines
464 B
TypeScript

import { ReactNode } from 'react';
import { useDayPicker } from 'contexts/DayPicker';
/** The props for the {@link Months} component. */
export type MonthsProps = { children: ReactNode };
/**
* Render the wrapper for the month grids.
*/
export function Months(props: MonthsProps): JSX.Element {
const { classNames, styles } = useDayPicker();
return (
<div className={classNames.months} style={styles.months}>
{props.children}
</div>
);
}