antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
9 lines (8 loc) • 412 B
TypeScript
import React from 'react';
import type { CSSProperties, ReactElement } from 'react';
export interface NativeProps<S extends string = never> {
className?: string;
style?: CSSProperties & Partial<Record<S, string>>;
tabIndex?: number;
}
export declare function withNativeProps<P extends NativeProps>(props: P, element: ReactElement): React.ReactElement<any, string | React.JSXElementConstructor<any>>;