All Projects → kimyongyook → React Timeline Carousel

kimyongyook / React Timeline Carousel

Licence: mit
React Timeline Feed Slider [UI Component]

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Timeline Carousel

Liferea
Liferea (Linux Feed Reader), a news reader for GTK/GNOME
Stars: ✭ 612 (+2560.87%)
Mutual labels:  feed
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+2926.09%)
Mutual labels:  npm-package
Terminal Image
Display images in the terminal
Stars: ✭ 778 (+3282.61%)
Mutual labels:  npm-package
Query String
Parse and stringify URL query strings
Stars: ✭ 5,781 (+25034.78%)
Mutual labels:  npm-package
Rando.js
The world's easiest, most powerful random function.
Stars: ✭ 659 (+2765.22%)
Mutual labels:  npm-package
Bundlephobia
🏋️ Find out the cost of adding a new frontend dependency to your project
Stars: ✭ 6,640 (+28769.57%)
Mutual labels:  npm-package
Pretty Ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Stars: ✭ 599 (+2504.35%)
Mutual labels:  npm-package
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+3847.83%)
Mutual labels:  npm-package
Node Module Boilerplate
Boilerplate to kickstart creating a Node.js module
Stars: ✭ 668 (+2804.35%)
Mutual labels:  npm-package
Ky
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
Stars: ✭ 7,047 (+30539.13%)
Mutual labels:  npm-package
Waud
Web Audio Library
Stars: ✭ 637 (+2669.57%)
Mutual labels:  npm-package
React Extras
Useful components and utilities for working with React
Stars: ✭ 651 (+2730.43%)
Mutual labels:  npm-package
Np
A better `npm publish`
Stars: ✭ 6,401 (+27730.43%)
Mutual labels:  npm-package
Jekyll Rss Feeds
Templates for rendering RSS feeds for your Jekyll blog
Stars: ✭ 627 (+2626.09%)
Mutual labels:  feed
Chat Codes
Encode and decode guildwars2 chat codes
Stars: ✭ 5 (-78.26%)
Mutual labels:  npm-package
Scientist.js
🔬 A JavaScript interpretation of the Ruby library Scientist, a library for carefully refactoring critical paths.
Stars: ✭ 600 (+2508.7%)
Mutual labels:  npm-package
Conf
Simple config handling for your app or module
Stars: ✭ 707 (+2973.91%)
Mutual labels:  npm-package
Easy Mock Server
A mock server for json and mock template files
Stars: ✭ 22 (-4.35%)
Mutual labels:  npm-package
Miniflux Legacy
Minimalist RSS reader (version 1.x)
Stars: ✭ 897 (+3800%)
Mutual labels:  feed
Eslint Plugin Node
Additional ESLint's rules for Node.js
Stars: ✭ 740 (+3117.39%)
Mutual labels:  npm-package

react-timeline-carousel


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

리액트를 사용하는 개발자 분들에게 제공하는 SNS 타임라인 피드 형태의 UI 컴포넌트 입니다.

npm version npm download

Screenshots - "화면갈무리"이에요

제가 IU를 좋아해서.. 팬입니다..

Features - 브라우저 지원은 이렇습니다

  • Supports IE9, IE10, Chrome, Firefox & Safari

Install - 이렇게 설치하세요

npm install --save rc-timeline-carousel

It's sooooooooooo easy? isn't it?

간단합니다. 그렇죠?

Usage - 이렇게 사용하세요

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

Parameter

You can add a content or custumize a css design

이 캐러셀에다가 컨텐츠를 넣거나 css 디자인도 가능하답니다.

...

let contents = [{...}];
let config = {...};
let startIdx = 0;

class YourComponent extends Component {
  render() {
    return (
        <CarouselTimeline data={contents} config={config} startIdx={startIdx}/>
    );
  }
}

Data

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

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

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].