knowledgebase_law/node_modules/property-information/lib/hast-to-react.d.ts

13 lines
424 B
TypeScript
Raw Normal View History

2025-04-11 23:47:09 +08:00
/**
* Special cases for React (`Record<string, string>`).
*
* `hast` is close to `React` but differs in a couple of cases.
* To get a React property from a hast property,
* check if it is in `hastToReact`.
* If it is, use the corresponding value;
* otherwise, use the hast property.
*
* @type {Record<string, string>}
*/
export const hastToReact: Record<string, string>;
//# sourceMappingURL=hast-to-react.d.ts.map