UNPKG

@atlaskit/calendar

Version:

An interactive calendar for date selection experiences.

30 lines (29 loc) 725 B
/* week-day-grid.tsx generated by @compiled/babel-plugin v0.36.1 */ import "./week-day-grid.compiled.css"; import { ax, ix } from "@compiled/react/runtime"; import React from 'react'; import { Grid } from '@atlaskit/primitives/compiled'; const styles = { templateColumns: "_yv0eloeq" }; /** * __Week day grid__ * * A week day grid aligns elements in a 7 wide grid layout. * */ const WeekDayGrid = ({ testId, children, isHidden }) => { const row = /*#__PURE__*/React.createElement(Grid, { testId: testId, xcss: styles.templateColumns, role: "row" }, children); return isHidden ? /*#__PURE__*/React.createElement("div", { "aria-hidden": "true" }, row) : row; }; export default WeekDayGrid;