UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

18 lines (16 loc) 534 B
import { ArrayElement } from '../_base/base'; import { strings } from '@douyinfe/semi-foundation/floatButton/constants'; import { BadgeProps } from '../badge'; export interface FloatButtonProps { shape?: ArrayElement<typeof strings.SHAPE>; colorful?: boolean; style?: React.CSSProperties; className?: string; icon?: React.ReactNode; onClick?: (e: React.MouseEvent) => void; href?: string; target?: string; disabled?: boolean; size?: ArrayElement<typeof strings.SIZE>; badge?: BadgeProps }