0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
astro/packages/astro/test/fixtures/react-component/src/pages/index.astro

25 lines
564 B
Text
Raw Normal View History

2021-03-23 20:15:44 -07:00
---
import Hello from '../components/Hello.jsx';
import Later from '../components/Goodbye.vue'; // use different specifier
import ArrowFunction from '../components/ArrowFunction.jsx';
import PropsSpread from '../components/PropsSpread.jsx';
import {Research2} from '../components/Research.jsx';
const someProps = {
text: 'Hello world!',
};
2021-03-23 20:15:44 -07:00
---
<html>
<head>
<!-- Head Stuff -->
</head>
<body>
<Hello name="world" />
<Later name="baby" />
<ArrowFunction />
<PropsSpread {...someProps}/>
<Research2 client:idle />
</body>
</html>