[Feature] Allow passing custom props to button
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- react, typescript
Direzione di ricerca
The issue does not name a file or test. Start by locating the React Hook Form devtools button and compare its props surface with the React Query example shown in the report. Done means callers can pass custom className and style values to reposition or restyle the button.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
With the react-query devtools I can pass in custom props to make adjustments to it. In particular, it's good to be able to pass a className or a custom style to override some defaults, like done here:
<ReactQueryDevtools
position="bottom-left"
toggleButtonProps={{
className: 'noPrint',
style: { transform: 'translateY(-3rem)' },
}}
panelProps={{
className: 'noPrint',
}}
/>
None of the placements of the react-hook-form devtools button work for me as there are fixed toolbars at the top and the bottom of our app. So I need to be able to pass in a transform to nudge it upwards, like I am able to with the react-query devtools.
- Lingua principale
- TypeScript
- Stelle
- 670
- Fork
- 55
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di react-hook-form/devtools
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
react-hook-form/devtools#234 · 1 commento · 5 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
react-hook-form/devtools#226 · 3 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
react-hook-form/devtools#223 · 2 reazioni ·
-
DevTools in production Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
react-hook-form/devtools#212 · 5 commenti · 8 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
react-hook-form/devtools#208 · 13 commenti · 21 reazioni ·
Tutte le issue di react-hook-form/devtools
Issue simili
-
Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100