列表综合筛选
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
import React from 'react';
|
||||
import { BubbleOption } from './index';
|
||||
import { BubbleItemProps } from '../../../types/list/types';
|
||||
import styles from './bubbleItem.module.scss';
|
||||
|
||||
export interface BubbleItemProps {
|
||||
option: BubbleOption;
|
||||
isSelected: boolean;
|
||||
size: 'small' | 'medium' | 'large';
|
||||
disabled: boolean;
|
||||
onClick: (option: BubbleOption) => void;
|
||||
itemClassName?: string;
|
||||
}
|
||||
|
||||
const BubbleItem: React.FC<BubbleItemProps> = ({
|
||||
option,
|
||||
isSelected,
|
||||
|
||||
Reference in New Issue
Block a user