@inkline/paper
Version:
Paper is a unified interface for defining components for Vue and React using a single code base.
10 lines (9 loc) • 497 B
TypeScript
import { DefineComponentFn, DefinePluginFn } from './types-common';
import { Plugin, VNode } from 'vue';
import { Component } from '@vue/runtime-core';
export * from './types-common';
export { VNode } from 'vue';
export declare type DefineVueComponentFn<State = Record<string, any>, Props = Record<string, any>> = DefineComponentFn<State, Props, VNode, Component>;
export declare type DefineVuePluginFn<Options = any> = DefinePluginFn<Plugin, Options & {
components?: Record<string, any>;
}>;