UNPKG

@harvest-profit/npk

Version:
27 lines 826 B
import React, { ReactNode, ComponentType } from 'react'; interface BaseButtonProps { icon?: ComponentType; leadingVisual?: any; trailingVisual?: any; trailingAction?: any; block?: boolean; full?: boolean; disabled?: boolean; loading?: boolean; size?: 'sm' | 'md' | 'lg'; align?: 'start' | 'center' | 'end'; as?: keyof JSX.IntrinsicElements | React.ComponentType<any>; chip?: ReactNode; children?: ReactNode; className?: string; autoDismiss?: boolean; onPressStart?: (e: any) => void; onPressEnd?: (e: any) => void; onPress?: (e: any) => void; onClick?: (e: any) => void; [key: string]: any; } declare const BaseButton: React.FC<BaseButtonProps>; export default BaseButton; export type { BaseButtonProps }; //# sourceMappingURL=BaseButton.d.ts.map