apeman-react-backgrounddeprecated

apeman react package for background themes

Usage no npm install needed!

<script type="module">
  import apemanReactBackground from 'https://cdn.skypack.dev/apeman-react-background';
</script>

README

apeman-react-background

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for background themes

Installation

$ npm install apeman-react-background --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApBackground, ApBackgroundStyle} from 'apeman-react-background'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApBackgroundStyle />
        <ApBackground/>
      </div>
    )
  }
})


Components

ApBackgroundStyle

Props

Name Type Default Description
style object {}
highlightColor string ApStyle.DEFAULT_HIGHLIGHT_COLOR
backgroundColor ApStyle.DEFAULT_BACKGROUND_COLOR

ApBackground

Props

Name Type Default Description
theme string types.oneOf(Object.keys(images))

ApCheckerboardBackground

Props

Name Type Default Description
size number 44
color1 string '#CCC'
color2 string 'transparent'

License

This software is released under the MIT License.

Links