UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

12 lines 383 B
/** * BaseSelect provide some parsed data into context. * You can use this hooks to get them. */ import { inject, provide } from 'vue'; var BaseSelectContextKey = Symbol('BaseSelectContextKey'); export function useProvideBaseSelectProps(props) { return provide(BaseSelectContextKey, props); } export default function useBaseProps() { return inject(BaseSelectContextKey, {}); }