mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-17 17:40: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
|
Name
|
||||||
<UITextInput onChangeText={setName} value={name} />
|
<UITextInput onChangeText={setName} value={name} />
|
||||||
<UIButton
|
<UIButton
|
||||||
onClick={onClickedCreateGroup}
|
onClick={buttonEnabled ? onClickedCreateGroup : () => {}}
|
||||||
style={!buttonEnabled ? { color: 'grey' } : {}}
|
style={!buttonEnabled ? { color: 'grey' } : {}}
|
||||||
>
|
>
|
||||||
{creating ? 'Creating group' : 'Create group'}
|
{creating ? 'Creating group' : 'Create group'}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user