UNPKG

4.18 kBMarkdownView Raw
1apeman-react-card
2==========
3
4<!---
5This file is generated by ape-tmpl. Do not update manually.
6--->
7
8<!-- Badge Start -->
9<a name="badges"></a>
10
11[![Build Status][bd_travis_shield_url]][bd_travis_url]
12[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
13[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
14[![npm Version][bd_npm_shield_url]][bd_npm_url]
15[![JS Standard][bd_standard_shield_url]][bd_standard_url]
16
17[bd_repo_url]: https://github.com/apeman-react-labo/apeman-react-card
18[bd_travis_url]: http://travis-ci.org/apeman-react-labo/apeman-react-card
19[bd_travis_shield_url]: http://img.shields.io/travis/apeman-react-labo/apeman-react-card.svg?style=flat
20[bd_travis_com_url]: http://travis-ci.com/apeman-react-labo/apeman-react-card
21[bd_travis_com_shield_url]: https://api.travis-ci.com/apeman-react-labo/apeman-react-card.svg?token=
22[bd_license_url]: https://github.com/apeman-react-labo/apeman-react-card/blob/master/LICENSE
23[bd_codeclimate_url]: http://codeclimate.com/github/apeman-react-labo/apeman-react-card
24[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/apeman-react-labo/apeman-react-card.svg?style=flat
25[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/apeman-react-labo/apeman-react-card.svg?style=flat
26[bd_gemnasium_url]: https://gemnasium.com/apeman-react-labo/apeman-react-card
27[bd_gemnasium_shield_url]: https://gemnasium.com/apeman-react-labo/apeman-react-card.svg
28[bd_npm_url]: http://www.npmjs.org/package/apeman-react-card
29[bd_npm_shield_url]: http://img.shields.io/npm/v/apeman-react-card.svg?style=flat
30[bd_standard_url]: http://standardjs.com/
31[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
32
33<!-- Badge End -->
34
35
36<!-- Description Start -->
37<a name="description"></a>
38
39apeman react package for card components
40
41<!-- Description End -->
42
43
44<!-- Overview Start -->
45<a name="overview"></a>
46
47
48
49<!-- Overview End -->
50
51
52<!-- Sections Start -->
53<a name="sections"></a>
54
55<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->
56
57<a name="section-doc-guides-01-installation-md"></a>
58
59Installation
60-----
61
62```bash
63$ npm install apeman-react-card --save
64```
65
66
67<!-- Section from "doc/guides/01.Installation.md.hbs" End -->
68
69<!-- Section from "doc/guides/02.Demo.md.hbs" Start -->
70
71<a name="section-doc-guides-02-demo-md"></a>
72
73Demo
74-----
75
76[Live demo][demo_url] is hosted on GitHub Pages.
77
78<!--
79[![Demo Image](./doc/images/screenshot.png)][demo_url]
80-->
81
82[demo_url]: http://apeman-react-labo.github.io/apeman-react-card/demo/demo.html
83
84
85<!-- Section from "doc/guides/02.Demo.md.hbs" End -->
86
87<!-- Section from "doc/guides/03.Usage.md.hbs" Start -->
88
89<a name="section-doc-guides-03-usage-md"></a>
90
91Usage
92---------
93
94```jsx
95'use strict'
96
97import React from 'react'
98import {ApCard, ApCardStyle} from 'apeman-react-card'
99
100const ExampleComponent = React.createClass({
101 render () {
102 return (
103 <div>
104 <ApCardStyle />
105 <ApCard/>
106 </div>
107 )
108 }
109})
110
111
112```
113
114
115
116<!-- Section from "doc/guides/03.Usage.md.hbs" End -->
117
118<!-- Section from "doc/guides/04.Components.md.hbs" Start -->
119
120<a name="section-doc-guides-04-components-md"></a>
121
122Components
123-----
124
125
126### ApCardGroup
127
128**Props**
129
130| Name | Type | Default | Description |
131| ---- | ---- | ------- | ----------- |
132
133### ApCardStyle
134
135**Props**
136
137| Name | Type | Default | Description |
138| ---- | ---- | ------- | ----------- |
139
140### ApCard
141
142**Props**
143
144| Name | Type | Default | Description |
145| ---- | ---- | ------- | ----------- |
146
147
148<!-- Section from "doc/guides/04.Components.md.hbs" End -->
149
150
151<!-- Sections Start -->
152
153
154<!-- LICENSE Start -->
155<a name="license"></a>
156
157License
158-------
159This software is released under the [MIT License](https://github.com/apeman-react-labo/apeman-react-card/blob/master/LICENSE).
160
161<!-- LICENSE End -->
162
163
164<!-- Links Start -->
165<a name="links"></a>
166
167Links
168------
169
170+ [apeman][apeman_url]
171+ [apeman-react-labo][apeman_react_labo_url]
172+ [React][react_url]
173
174[apeman_url]: https://github.com/apeman-labo/apeman
175[apeman_react_labo_url]: https://github.com/apeman-react-labo
176[react_url]: https://facebook.github.io/react/
177
178<!-- Links End -->