-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a handful of likely necessary compontents
Clicking the button adds a card component but renders on top of the rest of it all -- this should be fixed.
- Loading branch information
1 parent
c3afd7b
commit 46db3f9
Showing
4 changed files
with
32 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React from 'react'; | ||
import FloatingActionButton from 'material-ui/lib/floating-action-button'; | ||
import Camera from 'material-ui/lib/svg-icons/image/camera'; | ||
import Lift from './lift_card' | ||
|
||
const Add = React.createClass({ | ||
clickHandle() { | ||
React.render(<Lift />, document.getElementById('app')); | ||
}, | ||
|
||
render() { | ||
var buttonStyle= { | ||
marginLeft: '290px', | ||
marginTop: '30px', | ||
paddng: '50px' | ||
} | ||
return( | ||
<FloatingActionButton style={buttonStyle} onClick={this.clickHandle}> | ||
<Camera /> | ||
</FloatingActionButton>); | ||
} | ||
}); | ||
|
||
export default Add; |
File renamed without changes.
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