-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export to Saturn static button (#48)
FAB tooltips aren't implemented until Material v1 (mui/material-ui#2230 (comment)) so let's leave out tooltip for now.
- Loading branch information
1 parent
61b2005
commit 0e8a82a
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.exportFab { | ||
margin: 0px; | ||
top: auto; | ||
right: 20px; | ||
bottom: 20px; | ||
left: auto; | ||
position: fixed; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** Export to Saturn FAB */ | ||
|
||
import './ExportFab.css'; | ||
|
||
import FileCloudUpload from 'material-ui/svg-icons/file/cloud-upload'; | ||
import { FloatingActionButton } from "material-ui"; | ||
import React from 'react'; | ||
import {white} from 'material-ui/styles/colors'; | ||
|
||
function ExportFab(props) { | ||
return ( | ||
<FloatingActionButton className="exportFab"> | ||
<FileCloudUpload color={white} /> | ||
</FloatingActionButton> | ||
); | ||
} | ||
|
||
export default ExportFab; |