npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

oc-react-components

v0.2.1

Published

Base components for building an ownCloud app with reactjs

Downloads

370

Readme

oc-react-components

Base components for building an ownCloud app with reactjs

The oc-react-components package provides some of the basic building blocks for building a UI for an ownCloud app: The main container element, a side navigation bar, a controlbar and the content container.

For an example usage see https://github.com/icewind1991/react_oc_boilerplate

<App/>

The <App/> component creates the main container element for app

<App appId="my_app">
    ...
</App>

<ControlBar/>

The <ControlBar/> component creates the bar on the top of the screen where the controls for the app are placed.

controlbar

<App appId="my_app">
    ...
    
    <ControlBar>
        ...
    </ControlBar>
    
    ...
</App>

<SideBar/>

The <SideBar/> component creates the navigation bar on side of the screen.

sidebar

The <SideBar/> component also comes with the <Entry/> and <Seperator/> component to be used to create the navigation entries in the sidebar.

<App appId="my_app">
    <SideBar>
        <Entry>
            ...
        </Entry>
        <Entry>
            ...
        </Entry>
        <Seperator/>
        <Entry>
            ...
        </Entry>
        ...
    </SideBar>

    ...
    
    ...
</App>

<Content/>

The <Content/> component main content container of the app, when a controlbar is used the content component will correctly adjust the styling to make room for the control bar on the top of the screen.

content

<App appId="my_app">
    ...

    ...
    
    <Content>
        ...
    </Content>
</App>