Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
UPDATE: 修改spacer工具class
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlq committed Aug 29, 2016
1 parent d90b6f2 commit 44357a6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Impression

一个组件丰富、简洁漂亮的React组件库。
一个种类丰富、简洁漂亮的React组件库。

### 少依赖

Expand All @@ -15,17 +15,17 @@
### 使用

```JavaScript
import { Button } from 'impression-react';

export default class MyView extends Component{
render(){
return (
<div>
<Button theme="primary">按钮</Button>
</div>
);
}
import { Button } from 'impression-react';

export default class MyView extends Component{
render(){
return (
<div>
<Button theme="primary">按钮</Button>
</div>
);
}
}
```

CSS引入:
Expand Down
12 changes: 6 additions & 6 deletions site/src/scripts/views/CardView.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class CardView extends Component{
<h4>Left</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#">Card link</a>
<a href="#" className="offset-spacer-l">Another link</a>
<a href="#" className="offset-l">Another link</a>
</Card.Block>
</Card>
</Col>
Expand All @@ -79,7 +79,7 @@ export default class CardView extends Component{
<h4>Center</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#">Card link</a>
<a href="#" className="offset-spacer-l">Another link</a>
<a href="#" className="offset-l">Another link</a>
</Card.Block>
</Card>
</Col>
Expand All @@ -90,7 +90,7 @@ export default class CardView extends Component{
<h4>Right</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#">Card link</a>
<a href="#" className="offset-spacer-l">Another link</a>
<a href="#" className="offset-l">Another link</a>
</Card.Block>
</Card>
</Col>
Expand All @@ -113,7 +113,7 @@ export default class CardView extends Component{
<h4>Left</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<Button theme="primary">OK</Button>
<Button theme="default" className="offset-spacer-l">Cancel</Button>
<Button theme="default" className="offset-l">Cancel</Button>
</Card.Block>
<Card.Footer>
footer
Expand All @@ -131,7 +131,7 @@ export default class CardView extends Component{
<h4>center</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<Button theme="primary">OK</Button>
<Button theme="default" className="offset-spacer-l">Cancel</Button>
<Button theme="default" className="offset-l">Cancel</Button>
</Card.Block>
</Card>
</Col>
Expand All @@ -141,7 +141,7 @@ export default class CardView extends Component{
<h4>Right</h4>
<p>Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<Button theme="primary">OK</Button>
<Button theme="default" className="offset-spacer-l">Cancel</Button>
<Button theme="default" className="offset-l">Cancel</Button>
</Card.Block>
<Card.Footer>
<h5 className="no-margin">
Expand Down

0 comments on commit 44357a6

Please sign in to comment.