Skip to content

Instantly share code, notes, and snippets.

@elijahmanor elijahmanor/List.js

Created Oct 11, 2018
Embed
What would you like to do?
Medium Article: Fragment Short Syntax - App.css Code Snippet
import React from "react";
const TwoThree = () => (
<>
<li>Two</li>
<li>Three</li>
</>
);
export default List() {
return (
<ul>
<li>One</li>
<TwoThree />
<li>Four</li>
</ul>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.