The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/packages/grafana-ui/src/components/Forms/Field.mdx

22 lines
443 B

import { Meta, Story, Preview, Props } from '@storybook/addon-docs/blocks';
import { Field } from './Field';
<Meta title="MDX|Field" component={Field} />
# Field
`Field` is the basic component for rendering form elements together with labels and description
### Usage
```jsx
import { Forms } from '@grafana/ui';
<Field label={...} description={...}>
<Input id="userName" onChange={...}/>
</Field>
```
### Props
<Props of={Field} />