Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- external link : ReasonReact.reactClass =
- "default"
- [@@bs.module "@phenomic/plugin-renderer-react/lib/components/Link"];
- let make
- href::(href: string)
- style::(style: option ReactDOMRe.Style.t)=?
- activeStyle::(activeStyle: option ReactDOMRe.Style.t)=?
- className::(className: option string)=?
- activeClassName::(activeClassName: option string)=?
- children =>
- ReasonReact.wrapJsForReason
- reactClass::link
- props::{
- "href": href,
- "style": Js.Nullable.from_opt style,
- "activeStyle": Js.Nullable.from_opt activeStyle,
- "className": Js.Nullable.from_opt className,
- "activeClassName": Js.Nullable.from_opt activeClassName
- }
- children;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement