chore: export some types (#8309)
This commit is contained in:
+2
-2
@@ -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: {
|
||||
|
||||
@@ -5,3 +5,4 @@ const Tabs = withInstall<typeof _Tabs>(_Tabs);
|
||||
|
||||
export default Tabs;
|
||||
export { Tabs };
|
||||
export type { TabsType } from './Tabs';
|
||||
|
||||
Reference in New Issue
Block a user