7 lines
599 B
TypeScript
7 lines
599 B
TypeScript
import * as React from "react";
|
|
export declare const isYoutubeLink: (text: string) => boolean;
|
|
export declare const YoutubeRenderer: (props: {
|
|
children?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>[];
|
|
url: string;
|
|
}) => JSX.Element;
|