You can search for identifiers within the package.
in-package search v0.2.0
server-reason-react.react
DomProps
type attributeType =
| String
| Int
| Bool
| BooleanishString
| Style
| Ref
| InnerHtml
type eventType =
| Clipboard
| Composition
| Keyboard
| Focus
| Form
| Mouse
| Selection
| Touch
| UI
| Wheel
| Media
| Image
| Animation
| Transition
| Pointer
| Inline
| Drag
type attribute = {
type_ : attributeType;
name : string;
jsxName : string;
}
type event = {
type_ : eventType;
type prop =
| Attribute of attribute
| Event of event
type errors = [
| `ElementNotFound
| `AttributeNotFound
]
val getJSXName : prop -> string
val getName : prop -> string
val findByName : string -> string -> (prop, errors) result
val isReactValidProp : string -> bool
val find_closest_name : string -> string option