Skip to content

Instantly share code, notes, and snippets.

@mkirby
Last active March 20, 2021 22:41
Show Gist options
  • Save mkirby/3b17e900f9f76a1e7f8af9005d7e22d6 to your computer and use it in GitHub Desktop.
Save mkirby/3b17e900f9f76a1e7f8af9005d7e22d6 to your computer and use it in GitHub Desktop.
Step 1: How to create a Semantic UI React functional table component
//import, create, and export a base functional component setup
import React from "react";
import scenarios from "./scenarios.json";
import { Table } from "semantic-ui-react";
function ScenarioTable() {
return (
<div className="scenario__table">
<Table>
{/* it's not much but it's a start! */}
</Table>
</div>
);
}
export default ScenarioTable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment