diff --git a/docs/IndicatorSize.md b/docs/IndicatorSize.md new file mode 100644 index 00000000000000..67635de9bbc88a --- /dev/null +++ b/docs/IndicatorSize.md @@ -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` diff --git a/website/layout/AutodocsLayout.js b/website/layout/AutodocsLayout.js index ceebe4aca5488b..8bfb69309b95a6 100644 --- a/website/layout/AutodocsLayout.js +++ b/website/layout/AutodocsLayout.js @@ -74,6 +74,9 @@ function renderType(type) { if (type.raw === 'ColorPropType') { return color; } + if (type.raw === 'IndicatorSizePropType') { + return indicator size; + } if (type.raw === 'EdgeInsetsPropType') { return '{top: number, left: number, bottom: number, right: number}'; }