All Projects → OGPoyraz → react-fake-component

OGPoyraz / react-fake-component

Licence: MIT license
Chuck Norris faking components

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to react-fake-component

React-Limited-Infinite-Scroll
A limited infinite scroll component for React(React有限无限加载组件)
Stars: ✭ 37 (+54.17%)
Mutual labels:  react-component
react-jsonschema-form-layout
Simple Layout Field to offer a variety possibilities to react-jsonschema-forms
Stars: ✭ 67 (+179.17%)
Mutual labels:  react-component
react-windows-ui
Build Windows fluent UI apps using ReactJS. Provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.
Stars: ✭ 383 (+1495.83%)
Mutual labels:  react-component
react-markdown-heading
Render markdown table of contents as React component.
Stars: ✭ 18 (-25%)
Mutual labels:  react-component
react-circle-flags
🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags
Stars: ✭ 29 (+20.83%)
Mutual labels:  react-component
react-fusionui
☢️ Nuclear power-up for your UI.
Stars: ✭ 13 (-45.83%)
Mutual labels:  react-component
histoslider
📊 A D3 based histogram slider component for React.
Stars: ✭ 31 (+29.17%)
Mutual labels:  react-component
react-touch-ripple
Create ripple effect from Material Design with React
Stars: ✭ 27 (+12.5%)
Mutual labels:  react-component
react-sweet-progress
A way to quickly add a progress bar to react app 🌈
Stars: ✭ 250 (+941.67%)
Mutual labels:  react-component
react-compare-slider
A slider component to compare any two React components in landscape or portrait orientation. It supports custom images, videos... and everything else.
Stars: ✭ 78 (+225%)
Mutual labels:  react-component
react-accessible-modal
Accessible modal dialog component for React
Stars: ✭ 17 (-29.17%)
Mutual labels:  react-component
delete-react-zombies
CLI to search and delete unimported 🧟components in your react ⚛️ files
Stars: ✭ 70 (+191.67%)
Mutual labels:  react-component
react-simple-range
🔉 React slider component for inputting a numeric value within a range.
Stars: ✭ 20 (-16.67%)
Mutual labels:  react-component
react-async-button
React button component for handling async actions
Stars: ✭ 31 (+29.17%)
Mutual labels:  react-component
react-example-paginated-list-infinite-scroll
Follow a React tutorial series with three parts to build a powerful component in React.
Stars: ✭ 43 (+79.17%)
Mutual labels:  react-component
animation-wrapper-view
Declarative animations with imperative controls for RN/RNW.
Stars: ✭ 53 (+120.83%)
Mutual labels:  react-component
create-chakra-icons
Transform SVGs to React Chakra UI <Icon /> ✨
Stars: ✭ 80 (+233.33%)
Mutual labels:  react-component
react-instagram-authless-feed
React component to provide a token-less Instagram feed.
Stars: ✭ 50 (+108.33%)
Mutual labels:  react-component
react-carousel-minimal
React.js Responsive Minimal Carousel
Stars: ✭ 76 (+216.67%)
Mutual labels:  react-component
win95-media-player
💿 Back from 1995, and running on your website
Stars: ✭ 56 (+133.33%)
Mutual labels:  react-component

#react-fake-component

Bored from loading indicators? You can fake it.

This component highly inspired from Kenan Yusuf's -Fake it'til you Make it- blog.

🦄 Working Demo & Examples

react-fake-component

###Usage

Install

npm i --save react-fake-component 

add https://github.com/OGPoyraz/react-fake-component/blob/master/dist/style.css into your styles.

// Import
import FakeComponent from 'react-fake-component';

// & Render
<FakeComponent fake={{
    type: 'c',
    header: true,
    line: 3,
    repeat:5,
    className: 'customClass',
    styleForComponent: {
        padding: '20px',
        border:'5px solid #aac8ff'
    },
    styleForDivider:{
        height:'1px',
        marginTop:'10px',
        marginBottom:'10px',
        backgroundColor:'#ddd'
    },
    styleForLine: {
        backgroundColor: '#aac8ff',
        marginBottom: '8px',
        height: '8px'
    },
    styleForHeader: {
        backgroundColor: '#aac8ff',
        marginBottom: '15px',
        height: '20px'
    },
    styleForAvatar: {
        backgroundColor: '#aac8ff',
        width: '100px',
        height: '100px'
    }
}}/>

Changelog

1.1.1
  • repeat property added. #1
  • Divider && styleForDivider added. #2

###Development

Clone repo & navigate into it

npm i
npm run development

& browse http://localhost:3000

Thanks for reading.

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].