4.6.201909161538 • Published 5 years ago

@dfeidao/fd-am000054 v4.6.201909161538

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

根据id获取组件/控件

Installation

yarn add --dev @dfeidao/fd-am000054

Example

a001.ts

import am00 from '@dfeidao/fd-am000000';
import am53 from '@dfeidao/fd-am000053';
import am54 from '@dfeidao/fd-am000054';
import am55 from '@dfeidao/fd-am000055';

function a001(fd: a00){
	const my = a53(fd, 'mywidget');
	await a55(fd, {my});
	a54(fd, 'mywidget');
}

tpl.tsx

import am00 from '@dfeidao/fd-am000000';

export default function tpl(a: <T>(action: string, ...args: unknown[]) => ((...args: unknown[]) => void), s: (...class_names: string[]) => {}, d: (d: string) => string | unknown[], fd: a00) {
		return (
			<View ref={d('mywidget')}>
			</View>
}