Skip to content

Commit

Permalink
Add React.string and React.array. (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt authored and rickyvetter committed Feb 12, 2019
1 parent 548bcc7 commit db98c7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/React.re
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
type element;

external string: string => element = "%identity";

external array: array(element) => element = "%identity";

type component('props) = 'props => element;

[@bs.module "react"]
Expand Down

0 comments on commit db98c7a

Please sign in to comment.