site/node_modules/property-information/lib/hast-to-react.d.ts
2024-10-14 08:09:33 +02:00

11 lines
328 B
TypeScript

/**
* `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, then use the corresponding value,
* otherwise, use the hast property.
*
* @type {Record<string, string>}
*/
export const hastToReact: Record<string, string>