Skip to content

Commit

Permalink
docs(table): add generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Apr 17, 2021
1 parent 7ddc6d7 commit 5db6719
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Html attributes for this table node.
<b>Signature:</b>

```typescript
htmlAttribs?: HtmlAttributesDictionary;
htmlAttribs?: Record<string, string>;
```
4 changes: 2 additions & 2 deletions packages/table-plugin/docs/table-plugin.htmltablebaseprops.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export interface HTMLTableBaseProps extends HTMLTableStats
| Property | Type | Description |
| --- | --- | --- |
| [html](./table-plugin.htmltablebaseprops.html.md) | string | The outerHtml of <table> tag. |
| [htmlAttribs?](./table-plugin.htmltablebaseprops.htmlattribs.md) | HtmlAttributesDictionary | <i>(Optional)</i> Html attributes for this table node. |
| [onLinkPress?](./table-plugin.htmltablebaseprops.onlinkpress.md) | RenderHTMLProps\['onLinkPress'\] | <i>(Optional)</i> Intercept links press. |
| [htmlAttribs?](./table-plugin.htmltablebaseprops.htmlattribs.md) | Record&lt;string, string&gt; | <i>(Optional)</i> Html attributes for this table node. |
| [onLinkPress?](./table-plugin.htmltablebaseprops.onlinkpress.md) | RenderersPropsBase\['a'\]\['onPress'\] | <i>(Optional)</i> Intercept links press. |
| [sourceBaseUrl?](./table-plugin.htmltablebaseprops.sourcebaseurl.md) | string | <i>(Optional)</i> The base to resolve relative URLs. |
| [WebView](./table-plugin.htmltablebaseprops.webview.md) | ComponentType&lt;any&gt; | The <code>WebView</code> Component you wish to use. |
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Intercept links press.
<b>Signature:</b>

```typescript
onLinkPress?: RenderHTMLProps['onLinkPress'];
onLinkPress?: RenderersPropsBase['a']['onPress'];
```
7 changes: 3 additions & 4 deletions packages/table-plugin/etc/table-plugin.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
import { ComponentType } from 'react';
import { CustomBlockRenderer } from 'react-native-render-html';
import { CustomTagRendererProps } from 'react-native-render-html';
import { HtmlAttributesDictionary } from 'react-native-render-html';
import { HTMLContentModel } from 'react-native-render-html';
import { HTMLElementModel } from '@native-html/transient-render-engine';
import { RenderHTMLProps } from 'react-native-render-html';
import { RenderersPropsBase } from 'react-native-render-html';
import { StyleProp } from 'react-native';
import type { TBlock } from '@native-html/transient-render-engine';
import { ViewStyle } from 'react-native';
Expand All @@ -27,8 +26,8 @@ export const HTMLTable: ({ WebView, tableStyleSpecs, cssRules, html, sourceBaseU
// @public
export interface HTMLTableBaseProps extends HTMLTableStats {
html: string;
htmlAttribs?: HtmlAttributesDictionary;
onLinkPress?: RenderHTMLProps['onLinkPress'];
htmlAttribs?: Record<string, string>;
onLinkPress?: RenderersPropsBase['a']['onPress'];
sourceBaseUrl?: string;
WebView: ComponentType<any>;
}
Expand Down

0 comments on commit 5db6719

Please sign in to comment.