1 | /**
|
2 | * @fileOverview Customized
|
3 | */
|
4 | import React, { Component, FunctionComponent, ReactElement } from 'react';
|
5 | type Comp<P> = FunctionComponent<P> | Component<P> | ReactElement<P>;
|
6 | export type Props<P, C extends Comp<P>> = P & {
|
7 | component: C;
|
8 | };
|
9 | /**
|
10 | * custom svg elements by rechart instance props and state.
|
11 | * @returns {Object} svg elements
|
12 | */
|
13 | export declare function Customized<P, C extends Comp<P>>({ component, ...props }: Props<P, C>): React.JSX.Element;
|
14 | export declare namespace Customized {
|
15 | var displayName: string;
|
16 | }
|
17 | export {};
|