Have ideas to improve npm?Join in the discussion! »

    react-revolution

    6.0.4 • Public • Published

    Website:

    http://react-revolution.byethost33.com

    Git

    https://github.com/janitzed/react-revolution

    Installation

    • npm i react-revolution
    • yarn add react-revolution

    Import a single component from the global module

    import { Breadcrumb } from 'react-revolution';
    

    Import a single component

    import Breadcrumb from 'react-revolution/Breadcrumb';
    

    Style (.scss file) import

    // Original style file with all imports for all modules
    
    @import 'react-revolution/scss/react-revolution.scss';
    
    // Single module file
    
    @import 'react-revolution/scss/Breadcrumb.scss';
    

    Compiled style (.css file) import

    // Global file
    
    @import 'react-revolution/css/react-revolution.css';
    
    // Single compiled file
    
    @import 'react-revolution/css/Article.css';
    
    @import 'react-revolution/css/Breadcrumb.css';
    
    @import 'react-revolution/css/Star.css';
    

    Example of usage:

    // import
    
    import { Breadcrumb } from 'react-revolution';
    
    // or  
    
    import Breadcrumb from 'react-revolution/Breadcrumb';
    
    // Usage
    <Breadcrumb />
    

    Available components

    Accordion
    Article
    ArticleImage
    Astronaut404
    Box
    Breadcrumb
    Card
    CardScroll
    CardScrollCallback
    Carousel
    Clipboard
    Clouds404
    CloudMountain404
    Container
    ContainerPopup
    ContainerSidebar
    CustomSuggestion
    DarkLine404
    DragDropArea
    DragDropList
    Filter
    FilterMapping
    FullScreenListArray
    FullScreenListObject
    FullScreenOverlay
    GlobalMessage
    Icon
    ImageBanner
    ImageBox
    ImageCarousel
    InputAnimation
    InputFile
    InputFileDragDrop
    InputSuggestionArray
    InputSuggestionObject
    Lightbulb404
    ListSwitch
    LoadingBoxTop
    LoadOnScroll
    Menu
    MenuDropDown
    MenuHeight
    MenuHoverX
    MenuHoverY
    Modal
    Overlay
    PagerDynamic
    PagerStatic
    Picture404
    Pills
    PopupBox
    PopupData
    PopupHover
    Preloader
    ReadMore
    ReadMoreCallback
    Ribbon
    RibbonMultiple
    ScrollTo
    Sidebar
    Slider
    SliderCard
    SliderFullscreen
    SliderItem
    SourceCode
    Star
    Step
    StepGenerator
    StepGeneratorDragDrop
    Suggestion
    Table
    TextWriter
    Timeline
    Water404
    

    Available functions

    addGlobalMessage
    disableHtmlScroll
    enableHtmlScroll
    isArray
    isInViewport
    isObject
    scrollTopListener
    scrollToTop
    urlExtract
    uuid
    copyArray
    copyObject
    isBoolean
    isFunction
    isNumber
    isString
    

    For mor details visit

    http://react-revolution.byethost33.com

    Install

    npm i react-revolution

    DownloadsWeekly Downloads

    2

    Version

    6.0.4

    License

    MIT

    Unpacked Size

    2.69 MB

    Total Files

    256

    Last publish

    Collaborators

    • avatar