UNPKG

jwf-year-calendar

Version:

A full react version of Paul-DS' js-year-calendar, https://github.com/year-calendar/js-year-calendar. Built with support from JWF Process Solutions Ltd.

6 lines (5 loc) 291 B
import { jsx as _jsx } from "react/jsx-runtime"; const Year = (props) => { return (_jsx("button", { className: `${props.className || ''} font-bold h-11 text-2xl w-full`, onClick: () => (props.onClick ? props.onClick(props.year) : null), children: props.year })); }; export default Year;