123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <View
- style={
- {
- someVeryLongStyle1: "true",
- someVeryLongStyle2: "true",
- someVeryLongStyle3: "true",
- someVeryLongStyle4: "true"
- }
- }
- />;
- <View
- style={
- [
- {
- someVeryLongStyle1: "true",
- someVeryLongStyle2: "true",
- someVeryLongStyle3: "true",
- someVeryLongStyle4: "true"
- }
- ]
- }
- />;
- <Something>
- {() => (
- <SomethingElse>
- <span />
- </SomethingElse>
- )}
- </Something>;
- <Something>
- {items.map(item => (
- <SomethingElse>
- <span />
- </SomethingElse>
- ))}
- </Something>;
- <Something>
- {function() {
- return (
- <SomethingElse>
- <span />
- </SomethingElse>
- );
- }}
- </Something>;
- <RadioListItem
- key={option}
- imageSource={this.props.veryBigItemImageSourceFunc &&
- this.props.veryBigItemImageSourceFunc(option)}
- imageSize={this.props.veryBigItemImageSize}
- imageView={this.props.veryBigItemImageViewFunc &&
- this.props.veryBigItemImageViewFunc(option)}
- heading={this.props.displayTextFunc(option)}
- value={option}
- />;
- <ParentComponent prop={
- <Child>
- test
- </Child>
- }/>;
- <BookingIntroPanel
- prop="long_string_make_to_force_break"
- logClick={data => doLogClick("short", "short", data)}
- />;
- <BookingIntroPanel
- logClick={data =>
- doLogClick("long_name_long_name_long_name", "long_name_long_name_long_name", data)
- }
- />;
- <BookingIntroPanel
- logClick={data => {
- doLogClick("long_name_long_name_long_name", "long_name_long_name_long_name", data)
- }}
- />;
- <Component
- onChange={(
- key: "possible_key_1" | "possible_key_2" | "possible_key_3",
- value: string | Immutable.List<string>,
- ) => {
- this.setState({
- updatedTask: this.state.updatedTask.set(key, value)
- });
- }}
- />;
- <BookingIntroPanel>
- {data => doLogClick("short", "short", data)}
- </BookingIntroPanel>;
- <BookingIntroPanel>
- {data =>
- doLogClick("long_name_long_name_long_name", "long_name_long_name_long_name", data)
- }
- </BookingIntroPanel>;
- <BookingIntroPanel>
- {data => {
- doLogClick("long_name_long_name_long_name", "long_name_long_name_long_name", data)
- }}
- </BookingIntroPanel>;
- <Component>
- {(
- key: "possible_key_1" | "possible_key_2" | "possible_key_3",
- value: string | Immutable.List<string>,
- ) => {
- this.setState({
- updatedTask: this.state.updatedTask.set(key, value)
- });
- }}
- </Component>;
|