mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 13:45:52 +03:00
271 B
271 B
Using JSX
x0 supports Compositor JSX format, which allows writing files as pure JSX without any JavaScript syntax.
---
title: JSX Example
---
import { Box, Heading } from 'rebass'
<Box p={3} bg='tomato'>
<Heading>
Hello
</Heading>
</Box>