Skip to content

Commit

Permalink
Add IndicatorSize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fadils committed Jul 18, 2016
1 parent b8a3680 commit de373a3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/IndicatorSize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
id: indicatorSize
title: Indicator Size
layout: docs
category: Guides
permalink: docs/indicator-size.html
next: images
previous: integration-with-existing-apps
---

The following formats are supported:

- `'small'` (size: 20)
- `'large'` (size: 36)
- `positive number`
3 changes: 3 additions & 0 deletions website/layout/AutodocsLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ function renderType(type) {
if (type.raw === 'ColorPropType') {
return <a href={'docs/colors.html'}>color</a>;
}
if (type.raw === 'IndicatorSizePropType') {
return <a href={'docs/indicator-size.html'}>indicator size</a>;
}
if (type.raw === 'EdgeInsetsPropType') {
return '{top: number, left: number, bottom: number, right: number}';
}
Expand Down

0 comments on commit de373a3

Please sign in to comment.