mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-09 22:00:16 -04:00
disable group creator button
This commit is contained in:
parent
4354f87eed
commit
9844c0b8c4
|
@ -33,7 +33,7 @@ export default function GroupCreator() {
|
|||
Name
|
||||
<UITextInput onChangeText={setName} value={name} />
|
||||
<UIButton
|
||||
onClick={onClickedCreateGroup}
|
||||
onClick={buttonEnabled ? onClickedCreateGroup : () => {}}
|
||||
style={!buttonEnabled ? { color: 'grey' } : {}}
|
||||
>
|
||||
{creating ? 'Creating group' : 'Create group'}
|
||||
|
|
Loading…
Reference in New Issue
Block a user