import React, { createElement } from 'react'; interface ViewProp { children?: React.ReactNode; id?: string; className?: string; style?: any; ref?: string | ((node: any) => any); key?: string | number; onClick?: (e: React.MouseEvent) => void; onDragEnter?: (e: React.DragEvent) => void; onDragLeave?: (e: React.DragEvent) => void; onDragOver?: (e: React.DragEvent) => void; } const View = ({ className = '', style, children, ...other }: ViewProp) => { return (
{children}
); }; export default View;