@fattureincloud/fic-design-system 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,6 @@
1
- import React from 'react';
2
- export declare const WithKnobs: () => React.JSX.Element;
1
+ import { Meta } from '@storybook/react';
2
+ import { ComponentProps } from 'react';
3
+ import IconButton from './IconButton';
4
+ export declare const WithKnobs: () => JSX.Element;
5
+ declare const IconButtonStories: Meta<ComponentProps<typeof IconButton>>;
6
+ export default IconButtonStories;
@@ -5,7 +5,10 @@ interface MonthProps {
5
5
  selected: boolean;
6
6
  documents: number[];
7
7
  amount: number;
8
- monthText: string[];
8
+ monthText: {
9
+ singular: string;
10
+ plural: string;
11
+ }[];
9
12
  isCurrentMonth: boolean;
10
13
  }
11
14
  declare const Month: ({ monthNumber, percentage, selected, documents, amount, monthText, isCurrentMonth, }: MonthProps) => JSX.Element;
@@ -13,7 +13,10 @@ export declare type MonthData = {
13
13
  export interface MonthlyTabProps {
14
14
  data: MonthData;
15
15
  onSelectionChange: (monthsData: MonthAmountData[]) => void;
16
- monthText?: string[];
16
+ monthText?: {
17
+ singular: string;
18
+ plural: string;
19
+ }[];
17
20
  preSelectedMonths: number[];
18
21
  currentMonth: number;
19
22
  }