aboutsummaryrefslogtreecommitdiffstats
path: root/CODING_STYLE.md
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-09 22:37:19 +0800
committerGitHub <noreply@github.com>2018-05-09 22:37:19 +0800
commit868d449c38f66f541d1089da82a100d9aa05f4c5 (patch)
tree9827f8023ea188143b5b6cb43f34b77afbe5f9e8 /CODING_STYLE.md
parent2c3f57bec6eaa8d52a644f0b6abe7ab17b05a2ee (diff)
parentfe8f38a7a47241f4f910ef229e6655de7648c98b (diff)
downloaddexon-solidity-868d449c38f66f541d1089da82a100d9aa05f4c5.tar.gz
dexon-solidity-868d449c38f66f541d1089da82a100d9aa05f4c5.tar.zst
dexon-solidity-868d449c38f66f541d1089da82a100d9aa05f4c5.zip
Merge pull request #4047 from ethereum/refactorToMulti
Refactor to allow implementing multi variable declarations.
Diffstat (limited to 'CODING_STYLE.md')
0 files changed, 0 insertions, 0 deletions
BACK_BUTTON_HEIGHT = 28; const styles: Styles = { backButton: { height: BACK_BUTTON_HEIGHT, paddingTop: 10, backgroundColor: colors.white, borderRadius: BACK_BUTTON_HEIGHT, boxShadow: `0px 4px 6px ${colors.walletBoxShadow}`, }, backButtonIcon: { color: colors.mediumBlue, fontSize: 20, }, }; export const BackButton = (props: BackButtonProps) => { return ( <div style={{ height: 65, paddingTop: 25 }}> <Link to={props.to} style={{ textDecoration: 'none' }}> <div className="flex right" style={styles.backButton}> <div style={{ marginLeft: 12 }}> <i style={styles.backButtonIcon} className={`zmdi zmdi-arrow-left`} /> </div> <div style={{ marginLeft: 12, marginRight: 12 }}> <div style={{ fontSize: 16, color: colors.lightGrey }}>{props.labelText}</div> </div> </div> </Link> </div> ); };