# rc-timeline-carousel

> UI Component in the SNS form of Timeline Feed Slider for Developer with REACT

Latest version **1.0.9** (published 2019-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install rc-timeline-carousel
pnpm add rc-timeline-carousel
yarn add rc-timeline-carousel
bun add rc-timeline-carousel
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-08-17 |
| First published | 2019-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 197.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | kimyongyook |
| Maintainers | kimyongyook93 |
| Keywords | react, react-component, react-slider, sns-carousel, horizontal, horizontal-slider, carousel, timeline, image, video, feed, feed-form |

## Links

- npm: https://www.npmjs.com/package/rc-timeline-carousel
- Repository: https://github.com/kimyongyook/react-timeline-carousel
- Homepage: http://github.com/kimyongyook/react-timeline-carousel
- Issues: http://github.com/kimyongyook/react-timeline-carousel/issues
- npm.io page: https://npm.io/package/rc-timeline-carousel

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^16.9.0
- [webpack](https://npm.io/package/webpack.md) ^4.39.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.9 (latest) — 2019-08-17
- 1.0.8 — 2019-08-17
- 1.0.7 — 2019-08-17
- 1.0.6 — 2019-08-17
- 1.0.5 — 2019-08-17
- 1.0.4 — 2019-08-17
- 1.0.3 — 2019-08-17
- 1.0.2 — 2019-08-16
- 1.0.1 — 2019-08-16
- 1.0.0 — 2019-08-16

## README

# react-timeline-carousel
---

UI Component in the SNS form of Timeline Feed Slider for Developer with REACT

리액트를 사용하는 개발자 분들에게 제공하는 SNS 타임라인 피드 형태의 UI 컴포넌트 입니다.

[![npm version][npm-image]][npm-url]
[![npm download][download-image]][download-url]

[npm-image]: https://badge.fury.io/js/rc-timeline-carousel.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-timeline-carousel
[download-image]: https://img.shields.io/badge/download-github-brightgreen
[download-url]: https://www.npmjs.com/package/rc-timeline-carousel

## Screenshots - "화면갈무리"이에요

제가 IU를 좋아해서..
팬입니다..

<img src="https://user-images.githubusercontent.com/45239851/63210554-e1a53a80-c12a-11e9-9126-84b9aabf9c53.JPG" width="100%"/>

<img src="https://media.giphy.com/media/h5KkauDFxsGVcoWWuE/giphy.gif" width="100%"/>

<img src="https://media.giphy.com/media/KGM9tCohNk3yImmNJm/giphy.gif" width="100%"/>


##  Features - 브라우저 지원은 이렇습니다

* Supports IE9, IE10, Chrome, Firefox & Safari

## Install - 이렇게 설치하세요

```bash
npm install --save rc-timeline-carousel
```

It's sooooooooooo easy? isn't it?

간단합니다. 그렇죠?

## Usage - 이렇게 사용하세요



````js
import React from 'react';
import ReactDOM from 'react-dom';
import CarouselTimeline from 'rc-timeline-carousel'
import 'rc-timeline-carousel/src/css/Timeline.css'


ReactDOM.render(
    <CarouselTimeline />
, document.getElementById('root'));
`````

## Link to DEMO - 이곳에서 사용해 보세요

[Online demo](https://repl.it/@kimyongyook/React-Timeline-Carousel)

## Parameter

You can add a content or custumize a css design

이 캐러셀에다가 컨텐츠를 넣거나 css 디자인도 가능하답니다.

````js
...

let contents = [{...}];
let config = {...};
let startIdx = 0;

class YourComponent extends Component {
  render() {
    return (
        <CarouselTimeline data={contents} config={config} startIdx={startIdx}/>
    );
  }
}
`````


### Data

````js
let contents = [
  {
    mediaType: "image/video" //[image,video]
    , mediaSrc: ""  //image or video url
    , profile: {
      profileImgSrc: "" //profile image url
      , profileName: "" //profile name
      , profileIntro: "" //profile Introduce Comment
    }
    , boardContent: {
      textSrc: "" //board Text Contents
    }
  }
]
`````

### config

````js
let config= {
  containerHeight : 400 //400px;
  ,itemHeight : 90 // 90%
  ,fstItemWidth : 700 //focus Item width 700(timelinefeed)
  , anotherItemWidth: 400 //unfocus Item width
  , contentType: 'timeline-feed' // ['timeline-feed', 'media-only', 'custom']
  , eventConfig : {
    mouse : true // for PC [true, false]
    ,touch : true // for Mobile [true, false]
    ,key : true // [true, false]
  }
  ,naviConfig : {
    button: true // [true, false]
    , paging : true //paging [true, false]
    , position: 'outer-bottom' // [inner-top, inner-bottom, outer-top, outer-bottom]
    , both : false // [true, false]
  }
}
`````

### startIdx
````js
let startIdx = 1; //start idx 1
`````
## Development - 뿅

use create-react-app

```
npm install create-react-app
create-react-app yourApp
npm start
```

## Example - 예시에요

`npm start` and then go to `http://localhost:3000/`


## License - 퍼가요~♥

`rc-timeline-carousel` is released under the MIT license.

---
_Source: https://npm.io/package/rc-timeline-carousel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
