import React from 'react';
import clsx from 'clsx';
import styles from './HomepageFeatures.module.scss';
const features = [
{
title: 'Easy to Use',
Svg: require('../../static/img/undraw_relaxation.svg').default,
description: (
<>
Despite its rich features and plugins,{' '}
react-native-render-html was designed for ease of use in
mind. Getting started is a matter of seconds.
>
)
},
{
title: 'Transparent',
Svg: require('../../static/img/undraw_back_home.svg').default,
description: (
<>
The internal data structure to render elements is{' '}
entirely transparent. You can easily{' '}
inspect the transient tree structure and have an
immediate idea of the engine belly.
>
)
},
{
title: 'Hackable',
Svg: require('../../static/img/undraw_hacker_mind.svg').default,
description: (
<>
Every step of the data flow can be tampered with. You can{' '}
alter the DOM,{' '}
customize and define elements models, implement{' '}
custom renderers and defer rendering{' '}
for asynchronous DOM inspection in a breeze.
>
)
},
{
title: 'Standards Compliance',
Svg: require('../../static/img/undraw_static_assets.svg').default,
description: (
<>
This library aims at balancing adherance to the W3C and WHATWG standards
with complexity and speed.
>
)
},
{
title: 'Styles Safety',
Svg: require('../../static/img/undraw_security_on.svg').default,
description: (
<>
Despite React Native styles and W3C CSS numerous incompatibilities, this
library reconciles both standards, and brings support
for properties unavailable in React Native such as{' '}
list-style-type, white-space...
>
)
},
{
title: 'Production Ready',
Svg: require('../../static/img/undraw_certificate.svg').default,
description: (
<>
This library is ready for production, and its development{' '}
test-driven. The transient node engine is{' '}
CI-benchmarked to safeguard its speed.
>
)
}
];
function Feature({ Svg, title, description }) {
return (
{description}