1 | import { Component } from 'react';
|
2 | import { Middleware, UriProps, UriState, XmlProps, XmlState } from './xml';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare const inlineStyles: Middleware;
|
21 | export declare function SvgCss(props: XmlProps): JSX.Element;
|
22 | export declare function SvgCssUri(props: UriProps): JSX.Element;
|
23 | export declare class SvgWithCss extends Component<XmlProps, XmlState> {
|
24 | state: {
|
25 | ast: null;
|
26 | };
|
27 | componentDidMount(): void;
|
28 | componentDidUpdate(prevProps: {
|
29 | xml: string | null;
|
30 | }): void;
|
31 | parse(xml: string | null): void;
|
32 | render(): JSX.Element;
|
33 | }
|
34 | export declare class SvgWithCssUri extends Component<UriProps, UriState> {
|
35 | state: {
|
36 | xml: null;
|
37 | };
|
38 | componentDidMount(): void;
|
39 | componentDidUpdate(prevProps: {
|
40 | uri: string | null;
|
41 | }): void;
|
42 | fetch(uri: string | null): Promise<void>;
|
43 | render(): JSX.Element;
|
44 | }
|