defineFC<Props> function
MemoizedFC<Props>
defineFC<Props>(
- FC<
Props> fn
Implementation
MemoizedFC<Props> defineFC<Props>(FC<Props> fn) {
final name = "defineFC_${nextFCId()}";
return ({props, ref, key}) => FCPropsWidget(
(context, props, ref) => fn(context, props), props, ref, name,
key: key);
}