UNPKG

393 BTypeScriptView Raw
1import React from "react";
2
3import { DayPicker } from "react-day-picker";
4
5export function StylingCss() {
6 const style = `
7 .caption_aqua {
8 color: aquamarine;
9 font-weight: bold;
10 font-size: 140%;
11 }
12 `;
13 return (
14 <>
15 <style>{style}</style>
16 <DayPicker
17 classNames={{
18 month_caption: "caption_aqua"
19 }}
20 />
21 </>
22 );
23}