Create Slider.mdx (#26149)

add simple documentation for slider component
pull/26170/head
Jess 5 years ago committed by GitHub
parent fd29b952a6
commit 6d4f72cd04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      packages/grafana-ui/src/components/Slider/Slider.mdx

@ -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…
Cancel
Save