mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
39 lines
409 B
JavaScript
39 lines
409 B
JavaScript
const basic = (
|
|
<Component
|
|
first={1}
|
|
|
|
second={2}
|
|
third={3}
|
|
/>
|
|
);
|
|
|
|
const multipleBlankLines = (
|
|
<Component
|
|
first={1}
|
|
|
|
|
|
|
|
second={2}
|
|
/>
|
|
);
|
|
|
|
const spreadAttributes = (
|
|
<Component
|
|
first={1}
|
|
|
|
{...props}
|
|
|
|
second={2}
|
|
/>
|
|
);
|
|
|
|
const noBlankLines = (
|
|
<Component
|
|
first={1}
|
|
second={2}
|
|
third={3}
|
|
/>
|
|
);
|
|
|
|
const inlineAttributes = <Component first={1} second={2} />;
|