@dfeidao/fd-am000054
TypeScript icon, indicating that this package has built-in type declarations

4.6.201909161538 • Public • Published

根据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>
}

Package Sidebar

Install

npm i @dfeidao/fd-am000054

Weekly Downloads

2

Version

4.6.201909161538

License

MIT

Unpacked Size

2.31 kB

Total Files

7

Last publish

Collaborators

  • taoqf