Skip to content

Instantly share code, notes, and snippets.

@sumitkharche
Created May 9, 2020 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sumitkharche/b24de581317f8ff883877fb02f07eebe to your computer and use it in GitHub Desktop.
Save sumitkharche/b24de581317f8ff883877fb02f07eebe to your computer and use it in GitHub Desktop.
Stack layout structure
import React from 'react';
import './App.css';
import { Stack } from "@fluentui/react";
function App() {
return (
<div className="wrapper">
<Stack horizontalAlign="center">
<h1>Todo App using Fluent UI & React</h1>
<Stack style={{ width: 300 }} gap={25}>
Add todo component...
TodoList componets...
</Stack>
</Stack>
</div>
);
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment