From 5bd3e06ab72e1dad532a13e7d72f5212dc7daccf Mon Sep 17 00:00:00 2001 From: Lauren Budorick Date: Mon, 7 May 2018 14:32:20 -0700 Subject: [PATCH] Remove property-types from docs --- docs/pages/style-spec.js | 44 +--------------------------------------- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/docs/pages/style-spec.js b/docs/pages/style-spec.js index d865daa0fc6..fdf72af0139 100644 --- a/docs/pages/style-spec.js +++ b/docs/pages/style-spec.js @@ -207,29 +207,6 @@ const navigation = [ } ] }, - { - "title": "Property types", - "subnav": [ - { - "title": "Data-driven" - }, - { - "title": "Cross-faded" - }, - { - "title": "Cross-faded data-driven" - }, - { - "title": "Color ramp" - }, - { - "title": "Data-constant" - }, - { - "title": "Constant" - } - ] - }, { "title": "Other", "subnav": [ @@ -385,15 +362,12 @@ class Item extends React.Component { {this.props.requires.map((r, i) => this.requires(r, i))} } - {this.props.expression && this.props.expression.interpolated && + {this.props.function === "interpolated" && Supports interpolate expressions. } {this.props.transition && Transitionable. } - - - Should be represented by a {this.props['property-type']} property. {this.props.doc && @@ -1428,22 +1402,6 @@ export default class extends React.Component { -
- -

Property types

-
- {Object.keys(ref['property-type']).map((propType, i) => { - const propTypeDoc = ref['property-type'][propType].doc; - return ( -
- -

{propType}

-

{propTypeDoc}

-
); - })} -
-
-

Other