1234567891011121314151617181920212223242526272829303132 |
- <Component
- propFn={
- // comment
- function(arg) {
- fn(arg);
- }
- }
- propArrowFn={
- // comment
- arg => fn(arg)
- }
- propArrowWithBreak={
- // comment
- arg =>
- fn({
- makeItBreak
- })
- }
- propArray={
- // comment
- [el1, el2]
- }
- propObj={
- // comment
- { key: val }
- }
- propTemplate={
- // comment
- `text`
- }
- />;
|