package
0.0.0-20240210095454-5fef39cd83c3
Repository: https://github.com/myitcv/x.git
Documentation: pkg.go.dev
# README
react
Package react is a set of GopherJS bindings for Facebook's React, a Javascript library for building user interfaces.
go get -u myitcv.io/react
Running the tests
As you can see in .travis.yml
, the CI tests consist of running:
./_scripts/run_tests.sh
followed by ensuring that git
is clean. This ensures that "current" generated files are committed to the repo.
Docs
Please start reading here.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
Package jsx allows you to render blocks of HTML as myitcv.io/react elements.
No description provided by the author
# Functions
A creates a new instance of a <a> element with the provided props and children.
Abbr creates a new instance of a <abbr> element with the provided props and children.
Article creates a new instance of a <article> element with the provided props and children.
Aside creates a new instance of a <aside> element with the provided props and children.
B creates a new instance of a <b> element with the provided props and children.
Br creates a new instance of a <br> element with the provided props and children.
Button creates a new instance of a <button> element with the provided props and children.
Caption creates a new instance of a <caption> element with the provided props and children.
Code creates a new instance of a <code> element with the provided props and children.
No description provided by the author
Div creates a new instance of a <div> element with the provided props and children.
Em creates a new instance of a <em> element with the provided props and children.
Footer creates a new instance of a <footer> element with the provided props and children.
Form creates a new instance of a <form> element with the provided props and children.
Fragment creates a new instance of a <React.Fragment> element with the provided children.
H1 creates a new instance of a <h1> element with the provided props and children.
H2 creates a new instance of a <h2> element with the provided props and children.
H3 creates a new instance of a <h3> element with the provided props and children.
H4 creates a new instance of a <h4> element with the provided props and children.
H5 creates a new instance of a <h5> element with the provided props and children.
H6 creates a new instance of a <h6> element with the provided props and children.
Header creates a new instance of a <header> element with the provided props and children.
Hr creates a new instance of a <hr> element with the provided props and children.
I creates a new instance of a <i> element with the provided props and children.
IFrame creates a new instance of a <iframe> element with the provided props and children.
Img creates a new instance of a <img> element with the provided props and children.
Input creates a new instance of a <input> element with the provided props and children.
Label creates a new instance of a <label> element with the provided props and children.
Li creates a new instance of a <li> element with the provided props and children.
Main creates a new instance of a <main> element with the provided props and children.
Nav creates a new instance of a <nav> element with the provided props and children.
NewDangerousInnerHTML creates a new DangerousInnerHTML instance, using the supplied string as the raw HTML.
Option creates a new instance of a <option> element with the provided props and children.
P creates a new instance of a <p> element with the provided props and children.
Pre creates a new instance of a <pre> element with the provided props and children.
No description provided by the author
Select creates a new instance of a <select> element with the provided props and children.
Span creates a new instance of a <span> element with the provided props and children.
No description provided by the author
Strike creates a new instance of a <s> element with the provided props and children.
Sup creates a new instance of a <sup> element with the provided props and children.
Table creates a new instance of a <table> element with the provided props and children.
Tbody creates a new instance of a <tbody> element with the provided props and children.
Td creates a new instance of a <td> element with the provided props and children.
TextArea creates a new instance of a <textarea> element with the provided props and children.
Th creates a new instance of a <th> element with the provided props and children.
Thead creates a new instance of a <thead> element with the provided props and children.
Tr creates a new instance of a <tr> element with the provided props and children.
Ul creates a new instance of a <ul> element with the provided props and children.
# Structs
AbbrElem is the React element definition corresponding to the HTML <abbr> element.
AbbrProps defines the properties for the <abbr> element.
AElem is the React element definition corresponding to the HTML <a> element.
AProps defines the properties for the <a> element.
ArticleElem is the React element definition corresponding to the HTML <article> element.
ArticleProps defines the properties for the <article> element.
AsideElem is the React element definition corresponding to the HTML <aside> element.
AsideProps defines the properties for the <aside> element.
BElem is the React element definition corresponding to the HTML <b> element.
BProps defines the properties for the <b> element.
BrElem is the React element definition corresponding to the HTML <br> element.
BrProps defines the properties for the <br> element.
ButtonElem is the React element definition corresponding to the HTML <button> element.
ButtonProps defines the properties for the <button> element.
CaptionElem is the React element definition corresponding to the HTML <caption> element.
CaptionProps defines the properties for the <caption> element.
CodeElem is the React element definition corresponding to the HTML <code> element.
CodeProps defines the properties for the <code> element.
ComponentDef is embedded in a type definition to indicate the type is a component.
CSS defines CSS attributes for HTML components.
DangerousInnerHTML is convenience definition that allows HTML to be directly set as the child of a DOM element.
DivElem is the React element definition corresponding to the HTML <div> element.
DivProps defines the properties for the <div> element.
EmElem is the React element definition corresponding to the HTML <em> element.
EmProps defines the properties for the <em> element.
FooterElem is the React element definition corresponding to the HTML <footer> element.
FooterProps defines the properties for the <footer> element.
FormElem is the React element definition corresponding to the HTML <form> element.
FormProps defines the properties for the <form> element.
FragmentElem is the special React Fragment element definition.
H1Elem is the React element definition corresponding to the HTML <h1> element.
H1Props defines the properties for the <h1> element.
H2Elem is the React element definition corresponding to the HTML <h2> element.
H2Props defines the properties for the <h2> element.
H3Elem is the React element definition corresponding to the HTML <h3> element.
H3Props defines the properties for the <h3> element.
H4Elem is the React element definition corresponding to the HTML <h4> element.
H4Props defines the properties for the <h4> element.
H5Elem is the React element definition corresponding to the HTML <h5> element.
H5Props defines the properties for the <h5> element.
H6Elem is the React element definition corresponding to the HTML <h6> element.
H6Props defines the properties for the <h6> element.
HeaderElem is the React element definition corresponding to the HTML <header> element.
HeaderProps defines the properties for the <header> element.
HrElem is the React element definition corresponding to the HTML <hr> element.
HrProps defines the properties for the <hr> element.
IElem is the React element definition corresponding to the HTML <i> element.
IFrameElem is the React element definition corresponding to the HTML <iframe> element.
IFrameProps defines the properties for the <iframe> element.
ImgElem is the React element definition corresponding to the HTML <img> element.
ImgProps defines the properties for the <img> element.
InputElem is the React element definition corresponding to the HTML <input> element.
InputProps defines the properties for the <input> element.
IProps defines the properties for the <i> element.
LabelElem is the React element definition corresponding to the HTML <label> element.
LabelProps defines the properties for the <label> element.
LiElem is the React element definition corresponding to the HTML <li> element.
LiProps defines the properties for the <li> element.
MainElem is the React element definition corresponding to the HTML <main> element.
MainProps defines the properties for the <main> element.
NavElem is the React element definition corresponding to the HTML <nav> element.
NavProps defines the properties for the <nav> element.
OptionElem is the React element definition corresponding to the HTML <option> element.
OptionProps defines the properties for the <option> element.
PElem is the React element definition corresponding to the HTML <p> element.
PProps defines the properties for the <p> element.
PreElem is the React element definition corresponding to the HTML <pre> element.
PreProps defines the properties for the <pre> element.
SelectElem is the React element definition corresponding to the HTML <select> element.
SelectProps defines the properties for the <select> element.
SpanElem is the React element definition corresponding to the HTML <span> element.
SpanProps defines the properties for the <span> element.
StrikeElem is the React element definition corresponding to the HTML <s> element.
StrikeProps defines the properties for the <s> element.
SupElem is the React element definition corresponding to the HTML <sup> element.
SupProps defines the properties for the <sup> element.
No description provided by the author
No description provided by the author
TableElem is the React element definition corresponding to the HTML <table> element.
TableProps defines the properties for the <table> element.
TbodyElem is the React element definition corresponding to the HTML <tbody> element.
TbodyProps defines the properties for the <tbody> element.
TdElem is the React element definition corresponding to the HTML <td> element.
TdProps defines the properties for the <td> element.
TextAreaElem is the React element definition corresponding to the HTML <textarea> element.
TextAreaProps defines the properties for the <textarea> element.
TheadElem is the React element definition corresponding to the HTML <thead> element.
TheadProps defines the properties for the <thead> element.
ThElem is the React element definition corresponding to the HTML <th> element.
ThProps defines the properties for the <th> element.
TrElem is the React element definition corresponding to the HTML <tr> element.
TrProps defines the properties for the <tr> element.
UlElem is the React element definition corresponding to the HTML <ul> element.
UlProps defines the properties for the <ul> element.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
S is the React representation of a string.