hast-to-react.d.ts 424 B

12345678910111213
  1. /**
  2. * Special cases for React (`Record<string, string>`).
  3. *
  4. * `hast` is close to `React` but differs in a couple of cases.
  5. * To get a React property from a hast property,
  6. * check if it is in `hastToReact`.
  7. * If it is, use the corresponding value;
  8. * otherwise, use the hast property.
  9. *
  10. * @type {Record<string, string>}
  11. */
  12. export const hastToReact: Record<string, string>;
  13. //# sourceMappingURL=hast-to-react.d.ts.map