import React from 'react'; import clsx from 'clsx'; import styles from './styles.module.css'; type FeatureItem = { imgPath:string; title: string; description: JSX.Element; }; const FeatureList: FeatureItem[] = [ { imgPath: require('@site/static/img/namespace.png').default, title: 'Namespace', description: ( <> Similar to Redis SELECT but equipped with token per namespace > ), }, { imgPath: require('@site/static/img/cluster.png').default, title: 'Replication', description: ( <> Async replication using binlog like MySQL > ), }, { imgPath: require('@site/static/img/high-available.png').default, title: 'High Availability', description: ( <> Support Redis sentinel to failover when master or replica was failed > ), }, { imgPath: require('@site/static/img/replication.png').default, title: 'Cluster', description: ( <> Centralized management but accessible via any Redis cluster client > ), }, ]; function Feature({imgPath,title, description}: FeatureItem) { return (
{description}