apeman-react-background
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
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.