automatic-runtime-svg.d.ts 887 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* eslint-disable @typescript-eslint/naming-convention */
  2. import type {Element, Root} from 'hast'
  3. import type {Child} from './create-h.js'
  4. import type {JSXProps} from './create-automatic-runtime.js'
  5. export * from './jsx-automatic.js'
  6. export const Fragment: null
  7. export const jsxDEV: {
  8. (
  9. type: null,
  10. properties: {children?: Child},
  11. key?: string | null | undefined
  12. ): Root
  13. (type: string, properties: JSXProps, key?: string | null | undefined): Element
  14. }
  15. export const jsxs: {
  16. (
  17. type: null,
  18. properties: {children?: Child},
  19. key?: string | null | undefined
  20. ): Root
  21. (type: string, properties: JSXProps, key?: string | null | undefined): Element
  22. }
  23. export const jsx: {
  24. (
  25. type: null,
  26. properties: {children?: Child},
  27. key?: string | null | undefined
  28. ): Root
  29. (type: string, properties: JSXProps, key?: string | null | undefined): Element
  30. }