@c8s/slider
v0.0.7
Published
[](https://github.com/nju33/c8s/tree/master/components/slider) [](https://www.npmjs.com/package/@c8s/slider) [![typesc
Readme
@c8s/slider
Usage
/**
* As to prepare of using the `Slider`
*
* ```sh
* yarn add @c8s/slider @c8s/theme react @types/react styled-components @types/styled-components
* ```
*/
import Slider from '@c8s/slider';
import {Theme, theme} from '@c8s/theme';Example
() => (
<Theme theme={theme}>
{/* ... */}
<Slider
items={[
{
image: 'https://via.placeholder.com/600x480',
text: 'Lorem ipsum dolor1',
},
{
image: 'https://via.placeholder.com/500x480',
text: 'Lorem ipsum dolor2',
},
{
image: 'https://via.placeholder.com/700x480',
text: 'Lorem ipsum dolor3',
},
]}
/>
{/* ... */}
</Theme>
);Contributors
Thanks goes to these wonderful people (emoji key):
| 純📖 | Aki-Japan📖 | | :---: | :---: |
This project follows the all-contributors specification. Contributions of any kind welcome!
