vue3-json-viewer
Version:
vuejs展示json的组件,适配vue3
26 lines (25 loc) • 1.07 kB
TypeScript
import { PropType } from 'vue';
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* The value to display. Expected to be `null` or `undefined`.
* The `type` is set to `null` and `PropType` is used to allow `undefined` as well,
* with a default of `undefined`.
*/
jsonValue: {
type: PropType<null | undefined>;
default: undefined;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* The value to display. Expected to be `null` or `undefined`.
* The `type` is set to `null` and `PropType` is used to allow `undefined` as well,
* with a default of `undefined`.
*/
jsonValue: {
type: PropType<null | undefined>;
default: undefined;
};
}>> & Readonly<{}>, {
jsonValue: null | undefined;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
export default _default;