diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-26 23:54:55 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-26 23:54:55 +0300 |
commit | 28a0027e212cfe2b3f5d397464dbbfe14a5a186c (patch) | |
tree | 5f47ede10f2d53cb3aa30c5b04177e92cba6a511 /src/components/UserStatus | |
parent | a5fbcc34f2529a2429124572915597c0fed45ae7 (diff) | |
download | which-ui-28a0027e212cfe2b3f5d397464dbbfe14a5a186c.tar.gz |
take all info from user to highlight
Diffstat (limited to 'src/components/UserStatus')
-rw-r--r-- | src/components/UserStatus/UserStatus.tsx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/components/UserStatus/UserStatus.tsx b/src/components/UserStatus/UserStatus.tsx new file mode 100644 index 0000000..338b5d1 --- /dev/null +++ b/src/components/UserStatus/UserStatus.tsx @@ -0,0 +1,29 @@ +import React, {useState} from 'react'; +import {makeStyles} from '@material-ui/core/styles'; + +const useStyles = makeStyles({ + root: { + position: 'relative' + }, + status: { + textAlign: 'center', + color: 'darkgray' + }, +}); + + +const UserStatus: React.FC = () => { + const classes = useStyles(); + + const changeStatus = () => { + + }; + + return ( + <div className={classes.status} onClick={changeStatus}> + I am not alcoholic + </div> + ); +}; + +export default UserStatus; |