Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@native-html/heuristic-table-plugin
Advanced tools
🔠 A 100% native component using heuristics to render tables in react-native-render-html
:warning: This plugin is in active development and its API might change without notice. As long as it is unstable, it will be released with 0.X version scheme, as per the semver standard.
🔠 A 100% native component using heuristics to render tables in react-native-render-html.
npm add --save @native-html/heuristic-table-plugin
yarn add @native-html/heuristic-table-plugin
react-native-render-html | @native-html/heuristic-table-plugin |
---|---|
< 6.0.0 | - |
≥ 6.0.0 | 6.x (documentation) |
import React from 'react';
import { ScrollView } from 'react-native';
import HTML from 'react-native-render-html';
import tableRenderers from '@native-html/heuristic-table-plugin';
const html = `
<table>
<tr>
<th>Entry Header 1</th>
<th>Entry Header 2</th>
</tr>
<tr>
<td>Entry First Line 1</td>
<td>Entry First Line 2</td>
</tr>
</table>
`;
const htmlProps = {
WebView,
renderers: {
...tableRenderers
},
renderersProps: {
table: {
// Put the table config here
}
}
};
export const Example = () => (
<ScrollView>
<HTML source={{ html }} {...htmlProps} />
</ScrollView>
);
To change the layout of cells and other options, you can pass a config object
to the renderersProps.table
prop of RenderHTML
component.
See the documentation for this object here: HeuristicTablePluginConfig
FAQs
🔠 A 100% native component using heuristics to render tables in react-native-render-html
The npm package @native-html/heuristic-table-plugin receives a total of 266 weekly downloads. As such, @native-html/heuristic-table-plugin popularity was classified as not popular.
We found that @native-html/heuristic-table-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.