1 | import React, { AriaAttributes } from 'react';
|
2 | import type { CSSProperties, ReactElement } from 'react';
|
3 | export declare type NativeProps<S extends string = never> = {
|
4 | className?: string;
|
5 | style?: CSSProperties & Partial<Record<S, string>>;
|
6 | tabIndex?: number;
|
7 | } & AriaAttributes;
|
8 | export declare function withNativeProps<P extends NativeProps>(props: P, element: ReactElement): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|