# @ray-js/components-ty-cell

> 涂鸦风格列表

Latest version **0.0.19** (published 2023-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ray-js/components-ty-cell
pnpm add @ray-js/components-ty-cell
yarn add @ray-js/components-ty-cell
bun add @ray-js/components-ty-cell
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.19 |
| Published | 2023-07-18 |
| First published | 2022-07-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 61.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tuyafe |

## Links

- npm: https://www.npmjs.com/package/@ray-js/components-ty-cell
- npm.io page: https://npm.io/package/@ray-js/components-ty-cell

## Dependencies (2)

- [classnames](https://npm.io/package/classnames.md) ^2.3.1
- [@ray-js/components-ty-config-provider](https://npm.io/package/@ray-js/components-ty-config-provider.md) ^0.0.9

## Recent versions

- 0.0.19 (latest) — 2023-07-18
- 0.0.19-beta-1 (beta) — 2023-11-03
- 0.0.18 — 2023-01-11
- 0.0.17-beta-1 — 2023-01-09
- 0.0.16 — 2022-12-12
- 0.0.15 — 2022-12-08
- 0.0.14 — 2022-11-07
- 0.0.13 — 2022-11-07
- 0.0.12 — 2022-10-09
- 0.0.11 — 2022-10-09
- 0.0.10 — 2022-10-08
- 0.0.9 — 2022-08-24
- 0.0.8 — 2022-08-08
- 0.0.8-beta-2 — 2022-08-05
- 0.0.8-beta-1 — 2022-08-04
- … 4 more at https://npm.io/package/@ray-js/components-ty-cell/versions

## README

English | [简体中文](./README-zh_CN.md)

# @ray-js/components-ty-cell

[![latest](https://img.shields.io/npm/v/@ray-js/components-ty-cell/latest.svg)](https://www.npmjs.com/package/@ray-js/components-ty-cell) [![download](https://img.shields.io/npm/dt/@ray-js/components-ty-cell.svg)](https://www.npmjs.com/package/@ray-js/components-ty-cell)

> Tuya Style Cell

## Installation

```sh
$ npm install @ray-js/components-ty-cell
# or
$ yarn add @ray-js/components-ty-cell
```

## Usage

```tsx
import React from 'react';
import { Checkbox, Text, View } from '@ray-js/components';
import List from '@ray-js/components-ty-cell';
import styles from './index.module.less';

export default function Home() {
  return (
    <List
      dataSource={[
        {
          title: 'Title',
        },
        {
          title: 'Title',
          content: 'Label',
        },
        {
          title: 'Title',
          content: <Icon type="icon-right" size={24} color="rgba(0,0,0,0.2)" />,
        },
        {
          title: 'Title',
          content: (
            <>
              Label
              <Icon
                style={{ marginLeft: '8rpx' }}
                type="icon-right"
                size={24}
                color="rgba(0,0,0,0.2)"
              />
            </>
          ),
        },
        {
          title: 'Title',
          content: <Icon type="icon-checkmark" size={24} color="#2B7AFF" />,
        },
        {
          title: 'Title',
          content: <Icon type="icon-checkmark" size={24} className={styles.iconColor} />,
        },
        {
          title: 'Title',
          content: <Switch />,
        },
        {
          title: (
            <>
              <Icon type="icon-a-sunmaxfill" size={24} color="#2B7AFF" />
              Title
            </>
          ),
          content: <Switch />,
        },
        {
          title: (
            <>
              <Icon type="icon-a-sunmaxfill" size={24} color="#2B7AFF" />
              Title
            </>
          ),
          content: (
            <>
              Label
              <Icon type="icon-right" size={24} className={styles.iconColor} />
            </>
          ),
        },
      ]}
    />
  );
}
```

---
_Source: https://npm.io/package/@ray-js/components-ty-cell · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
