chore: export some types (#8309)

This commit is contained in:
neverland
2021-03-08 17:14:55 +08:00
committed by GitHub
parent ae40d40c24
commit 8bae9ca0ed
23 changed files with 68 additions and 26 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ const [name, bem] = createNamespace('tabs');
export const TABS_KEY = Symbol(name);
export type TabType = 'line' | 'card';
export type TabsType = 'line' | 'card';
export type TabsProvide = {
props: {
@@ -82,7 +82,7 @@ export default defineComponent({
titleActiveColor: String,
titleInactiveColor: String,
type: {
type: String as PropType<TabType>,
type: String as PropType<TabsType>,
default: 'line',
},
active: {
+1
View File
@@ -5,3 +5,4 @@ const Tabs = withInstall<typeof _Tabs>(_Tabs);
export default Tabs;
export { Tabs };
export type { TabsType } from './Tabs';