Skip to content

Commit

Permalink
Update Docs for Buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Zadielerick committed Dec 31, 2015
1 parent 6fdff60 commit b4880a8
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ const styles = {
exampleImageInput: {
cursor: 'pointer',
position: 'absolute',
top: '0',
bottom: '0',
right: '0',
left: '0',
top: 0,
bottom: 0,
right: 0,
left: 0,
width: '100%',
opacity: '0',
opacity: 0,
},
exampleFlatButtonIcon: {
height: '100%',
display: 'inline-block',
verticalAlign: 'middle',
paddingLeft: '12px',
paddingLeft: 12,
lineHeight: '36px',
color: Colors.cyan500,
},
};

const FlatButtonExampleSimple = () => (
const FlatButtonExampleComplex = () => (
<div>
<FlatButton primary={true} label="Choose an Image">
<input type="file" id="imageButton" style={styles.exampleImageInput}></input>
Expand All @@ -51,4 +51,4 @@ const FlatButtonExampleSimple = () => (
</div>
);

export default FlatButtonExampleSimple;
export default FlatButtonExampleComplex;

0 comments on commit b4880a8

Please sign in to comment.