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

Commit

Permalink
Browse files Browse the repository at this point in the history
# By DengXiaChen
# Via DengXiaChen
* 'master' of https://github.com/shenlq/Impression:
  [ADD] Flex API
  • Loading branch information
shenlq committed Aug 16, 2016
2 parents 8387a31 + a55bd7c commit 5b4b894
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion site/scripts/views/LayoutView.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,24 @@ export default class LayoutView extends Component{
<li>col 应配合 Row 使用,很方便实现栅格布局。</li>
<li>若要实现五等分,要自定义样式,flex 属性值为 0 0 20%,max-width 设置为20%。</li>
</ul>
<h3 className="text-secondary">Flex API</h3>
<CommenTable
data = {[
['align', '对其方式,可选值为top、middle、bottom', 'string', ''],
['direction', '布局方向,可选值为row、column', 'string', 'row'],
]}
></CommenTable>
<h3 className="text-secondary">Flex.Item API</h3>
<CommenTable
data = {[
['flex', 'item 占比', 'number', '1'],
]}
></CommenTable>
</Card>
</Card>
</div>
);
}
}

LayoutView.title = 'Layout';
LayoutView.title = 'Layout';

0 comments on commit 5b4b894

Please sign in to comment.