mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 19:54:10 -06:00
Create Slider.mdx (#26149)
add simple documentation for slider component
This commit is contained in:
parent
fd29b952a6
commit
6d4f72cd04
12
packages/grafana-ui/src/components/Slider/Slider.mdx
Normal file
12
packages/grafana-ui/src/components/Slider/Slider.mdx
Normal file
@ -0,0 +1,12 @@
|
||||
import { Meta, Props } from '@storybook/addon-docs/blocks';
|
||||
import { Slider } from './Slider';
|
||||
|
||||
<Meta title="MDX|Slider" />
|
||||
|
||||
# Slider
|
||||
|
||||
The `Slider` component is an input element where users can manipulate one or two values on a one-dimensional axis.
|
||||
|
||||
`Slider` can be implemented in horizontal or vertical orientation. You can set the default starting value(s) for the slider with the `value` prop.
|
||||
|
||||
<Props of={Slider} />
|
Loading…
Reference in New Issue
Block a user