package server-reason-react

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type attributeType =
  1. | String
  2. | Int
  3. | Bool
  4. | BooleanishString
  5. | Style
  6. | Ref
  7. | InnerHtml
type eventType =
  1. | Clipboard
  2. | Composition
  3. | Keyboard
  4. | Focus
  5. | Form
  6. | Mouse
  7. | Selection
  8. | Touch
  9. | UI
  10. | Wheel
  11. | Media
  12. | Image
  13. | Animation
  14. | Transition
  15. | Pointer
  16. | Inline
  17. | Drag
type attribute = {
  1. type_ : attributeType;
  2. name : string;
  3. jsxName : string;
}
type event = {
  1. type_ : eventType;
  2. jsxName : string;
}
type prop =
  1. | Attribute of attribute
  2. | Event of event
type errors = [
  1. | `ElementNotFound
  2. | `AttributeNotFound
]
val getJSXName : prop -> string
val getName : prop -> string
val findByName : string -> string -> (prop, errors) Stdlib.result
val isReactValidProp : string -> bool
val find_closest_name : string -> string option
OCaml

Innovation. Community. Security.