callstack / callstack/react-native-paper
FAB.Group doesn't have an option to set the mode of the FAB of action array
- Lingua principale
- TypeScript
- Stelle
- 14.5k
- Fork
- 2.2k
- Merge medio
- 5g 23h
- PR unite (30g)
- 12
Descrizione
I was looking through the FAB and FAB.Group components and noticed that it is not possible to set the mode of the FAB which is used for actions. What I'm trying to do is "merge" button and label so I can have one combined field for every action.
I believe this would be possible if the props of the FAB.Group would be expanded with prop called "mode", "FABmode" or something different which would then be propagated to the FAB component as `mode={mode}`. Alternatively, every action might be expanded with mode field which could be used as `mode={it.mode}`.
**This is the best I can do without setting the mode of the FAB to "flat":**

**This is what I would like to do (done with changes to the FAB.Group component):**

Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.