@typeolymp/ui-components 1.19.0 → 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,11 @@
1
1
  import { FC } from "react";
2
2
  import { Locale } from "@typeolymp/utils/enums";
3
- import { ExerciseResult } from "./utils";
3
+ import { Period, ExerciseResult } from "./utils";
4
4
  declare type BasePropsType = {
5
5
  exerciseResults: ExerciseResult[];
6
6
  locale: Locale;
7
+ defaultPeriod?: Period;
8
+ onChangePeriod?: (period: Period) => void;
7
9
  };
8
10
  export declare type PropsType = (BasePropsType & {
9
11
  type: "accuracy" | "hits" | "results" | "speed" | "time";
@@ -11,6 +11,7 @@ export declare const Progress: () => JSX.Element;
11
11
  export declare const Results: () => JSX.Element;
12
12
  export declare const Speed: () => JSX.Element;
13
13
  export declare const Time: () => JSX.Element;
14
+ export declare const Multiple: () => JSX.Element;
14
15
  export declare const Playground: {
15
16
  (args: any): JSX.Element;
16
17
  args: {
@@ -15,7 +15,7 @@ export declare type PropsType = {
15
15
  rowSelection?: {
16
16
  onChange(selectedRowKeys: string[], selectedRowKey: string, selectedRows: DataType[], selectedRow: DataType): void;
17
17
  };
18
- empytText?: string;
18
+ emptyText?: string;
19
19
  };
20
20
  declare const Table: FC<PropsType>;
21
21
  export default Table;