Form.tsx
573 Bytes
-
Forms: Introduce form field (#20632) · 1bd0c87f
* Introduce new Switch component * Experiment with different focus style * Review update * Update on/off swtch colors * Introduce Form.Field component * Enable className prop on form's field * Remove not used imports * Update packages/grafana-ui/src/components/Forms/Field.tsx Co-Authored-By: Peter Holmberg <peterholmberg@users.noreply.github.com> * Make switch usable in field story * Add predefined input sizes * Add util to display story on a debug canvas * Test form * Updated the test form * Fix snapshot
Dominik Prokop committed