Create Slider.mdx (#26149)

add simple documentation for slider component
This commit is contained in:
Jess 2020-07-08 17:05:01 +02:00 committed by GitHub
parent fd29b952a6
commit 6d4f72cd04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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} />