Installation
npm install --save @types/htmltojsx
Summary
This package contains type definitions for htmltojsx (https://www.npmjs.com/package/htmltojsx).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/htmltojsx.
index.d.ts
declare class HTMLtoJSX {
constructor(options?: {
createClass?: boolean | undefined;
outputClassName?: string | undefined;
/** as a string e.g. ' ' or '\t' */
indent?: string | undefined;
});
convert(html: string): string;
}
export = HTMLtoJSX;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Basarat Ali Syed.