react-amphtml
Version:
Use amphtml components inside your React apps easily!
14 lines (13 loc) • 454 B
TypeScript
import React, { ReactElement } from 'react';
import { ScriptProps } from '../amphtml/amphtml';
export declare const BLACKLIST: string[];
export interface AmpBindProps {
[boundAttribute: string]: string;
}
export interface BindProps {
children: (props: AmpBindProps) => ReactElement;
version?: ScriptProps['version'];
[prop: string]: string | undefined | any;
}
declare const Bind: React.FunctionComponent<BindProps>;
export default Bind;