react-restyle-components 0.2.29 → 0.2.30
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.
package/lib/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import '../../../tc.css';
|
|
3
3
|
interface TabProps {
|
|
4
4
|
title: string;
|
|
5
|
-
children: ReactNode;
|
|
5
|
+
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const Tab: ({ title, children }: TabProps) => React.JSX.Element;
|
|
8
8
|
export interface TabsProps {
|
|
@@ -13,7 +13,7 @@ export interface TabsProps {
|
|
|
13
13
|
inActive?: boolean;
|
|
14
14
|
}>;
|
|
15
15
|
onSelect: (item: any, index: number) => void;
|
|
16
|
-
children?:
|
|
16
|
+
children?: React.ReactNode;
|
|
17
17
|
}
|
|
18
18
|
export declare const Tabs: ({ tabsClass, options, onSelect, children, }: TabsProps) => React.JSX.Element;
|
|
19
19
|
export {};
|