mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Forms: Introduce form field (#20632)
* 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
This commit is contained in:
@@ -79,6 +79,7 @@ export interface GrafanaThemeCommons {
|
||||
formLabelPadding: string;
|
||||
formLabelMargin: string;
|
||||
formValidationMessagePadding: string;
|
||||
formValidationMessageMargin: string;
|
||||
};
|
||||
border: {
|
||||
radius: {
|
||||
|
Reference in New Issue
Block a user