Skip to content

Commit

Permalink
Render with Paper element by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 13, 2020
1 parent 2492555 commit 72bb1ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function DirectoryInformation({ section }) {
const classes = useStyles(theme);

return (
<TableContainer>
<TableContainer component={Paper}>
<Table size="small" >
{Object.keys(section).map((key) => (
key === "type" ? "" :
Expand Down
5 changes: 1 addition & 4 deletions src/components/DirectoryInformation/DirectoryInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Displays the directory information as a table.


```jsx
import { Paper } from "@material-ui/core";
import DirectoryInformation from "./DirectoryInformation";

const example_directory_data = {
Expand All @@ -21,9 +20,7 @@ const example_directory_data = {
"Subject": "Upgrade system and Abaqus"
};

<Paper>
<DirectoryInformation section={example_directory_data} />
</Paper>
<DirectoryInformation section={example_directory_data} />
```

```jsx static
Expand Down

0 comments on commit 72bb1ca

Please sign in to comment.