react-github-contribution-calendar icon indicating copy to clipboard operation
react-github-contribution-calendar copied to clipboard

fix: make weekLabelAttributes, monthLabelAttributes, panelAttributes optional

Open borracciaBlu opened this issue 1 year ago • 0 comments

Type error: Type '{ values: {}; until: string; panelColors: string[]; }' is missing the following properties from type 'Readonly<Props>': weekLabelAttributes, monthLabelAttributes, panelAttributes

  51 |       <h1 className="pt-3 pb-2">{track && track.name}</h1>
  52 |
> 53 |       <Calendar
     |        ^
  54 |         values={values}
  55 |         until={date)}
  56 |         panelColors={['#eeeeee', '#9be9a8', '#40c463', '#30a14e', '#216e39']}

This is using TypeScript v5.1.6

borracciaBlu avatar Jul 01 '23 11:07 borracciaBlu