0.0.17 • Published 1 month ago

@ray-js/components-ty-swipeout v0.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

English | 简体中文

@ray-js/components-ty-swipeout

Tuya Style Swipeout

Installation

$ npm install @ray-js/components-ty-swipeout
# or
$ yarn add @ray-js/components-ty-swipeout

Usage

import { Icon, View } from '@ray-js/components';
import TyCell from '@ray-js/components-ty-cell';
import Swipeout from '@ray-js/components-ty-swipeout';

<Swipeout
  autoClose
  right={[
    {
      text: 'Action',
      onPress: () => console.log('Action3'),
      style: { backgroundColor: 'red', color: 'white' },
    },
  ]}
>
  <TyCell.Item
    className={styles.title}
    title={
      <>
        <Icon type="icon-a-sunmaxfill" size={24} color="#2B7AFF" />
        向左滑动
      </>
    }
  />
</Swipeout>;
0.0.18-beta-3

1 month ago

0.0.18-beta-2

4 months ago

0.0.18-beta-1

4 months ago

0.0.14

9 months ago

0.0.15

9 months ago

0.0.16

9 months ago

0.0.17

9 months ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago