Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/test.jsx
- This file was copied to autotests/input/test.tsx.
1 | /* email: <willy@wmail.com> | 1 | // JavaScript React | ||
---|---|---|---|---|---|
2 | * URL: https://reactjs.org/*/ | 2 | | ||
3 | /** @author Willy <willy@wmail.com> | ||||
4 | * @url https://reactjs.org/ **/ | ||||
3 | 5 | | |||
4 | import React from 'react'; | 6 | import React from 'react'; | ||
5 | import { PhotoStory, VideoStory } from './stories'; | 7 | import { PhotoStory, VideoStory } from './stories'; | ||
6 | 8 | | |||
7 | function Story(props) { | 9 | function Story(props) { | ||
8 | const SpecificStory = components[props.storyType]; | 10 | const SpecificStory = components[props.storyType]; | ||
9 | return <SpecificStory story={ props.story } attr2="&ref;" attr3="Hello\n" />; | 11 | return <SpecificStory story={ props.story } attr2="&ref;" attr3="Hello\n" />; | ||
10 | } | 12 | } | ||
Show All 40 Lines |