UNPKG

shineout

Version:

Shein 前端组件库

14 lines (13 loc) 492 B
/// <reference types="react" /> import { Component } from '../component'; import { BtnProps, IndexType } from './Props'; declare class Btns<DataItem, Value extends any[]> extends Component<BtnProps<DataItem, Value>> { toSource: () => void; toTarget: () => void; constructor(props: BtnProps<DataItem, Value>); getDataMap(): Map<any, any>; change(index: IndexType): void; renderButtonText(mode?: string): JSX.Element[]; render(): JSX.Element; } export default Btns;