mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-31 13:01:15 +00:00
35 lines
933 B
Plaintext
35 lines
933 B
Plaintext
<%
|
|
const component = locals.component;
|
|
-%>
|
|
## <MapboxGL.<%- component.name %> />
|
|
### <%- replaceNewLine(component.description) %>
|
|
|
|
<%_ if (component.props) { _%>
|
|
### props
|
|
| Prop | Type | Default | Required | Description |
|
|
| ---- | :--: | :-----: | :------: | :----------: |
|
|
<%- propMarkdownTableRows(component) %>
|
|
<%_ } _%>
|
|
|
|
<%_ if (component.methods.length) { _%>
|
|
### methods
|
|
<%_ for (let method of component.methods) { _%>
|
|
#### <%- getMarkdownMethodSignature(method) %>
|
|
##### arguments
|
|
| Name | Type | Required | Description |
|
|
| ---- | :--: | :------: | :----------: |
|
|
<%- methodMarkdownTableRow(method) %>
|
|
|
|
<%- getMarkdownMethodExamples(method) %>
|
|
<%_ } _%>
|
|
<%_ } _%>
|
|
|
|
<%_ if (component.styles) { _%>
|
|
### styles
|
|
| Name | Type | Requires | Disabled By | Description |
|
|
| ---- | :--: | :------: | :---------: | :----------: |
|
|
<%_ for (let style of component.styles) { _%>
|
|
<%- styleMarkdownTableRow(style) %>
|
|
<%_ } _%>
|
|
<%_ } _%>
|