DefinitelyTyped/types/htmltojsx/index.d.ts
2017-03-24 14:27:52 -07:00

17 lines
476 B
TypeScript

// Type definitions for htmltojsx
// Project: https://www.npmjs.com/package/htmltojsx
// Definitions by: Basarat Ali Syed <https://github.com/basarat>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare class HTMLtoJSX {
constructor(options?: {
createClass?: boolean;
outputClassName?: string;
/** as a string e.g. ' ' or '\t' */
indent?: string;
});
convert(html: string): string;
}
export = HTMLtoJSX;