import React from 'react'; import { Calendar, Box, Text, Grommet } from 'grommet'; import { Plan } from 'grommet-icons'; import { ThemeType } from 'grommet/themes'; // Remove ': ThemeType' if you are not using Typescript. const customTheme: ThemeType = { global: { font: { family: `-apple-system, BlinkMacSystemFont, "Segoe UI"`, }, }, calendar: { day: { extend: ({ isSelected }) => ` border-radius: 100px; background-color: ${isSelected ? 'white' : undefined}`, }, }, }; export const CustomDateCalendar = () => ( Calendar ); CustomDateCalendar.storyName = 'Custom date'; export default { title: `Visualizations/Calendar/Custom Themed/Custom date`, };