stream-chat-react
Version:
React components to create chat conversations or livestream style chat
18 lines • 926 B
TypeScript
import React, { type ComponentProps } from 'react';
export type ButtonVariant = 'primary' | 'secondary' | 'danger';
export type ButtonAppearance = 'solid' | 'outline' | 'ghost';
export type ButtonSize = 'lg' | 'md' | 'sm' | 'xs';
export type ButtonProps = ComponentProps<'button'> & {
/** Semantic variant: primary, secondary, or danger (maps to destructive in styles). */
variant?: ButtonVariant;
/** Visual style: solid, outline, or ghost. */
appearance?: ButtonAppearance;
/** When true, uses full border-radius for icon-only/pill shape. */
circular?: boolean;
/** When true, button uses inverse theme (e.g. on dark surface in light theme). */
inverseTheme?: boolean;
/** Size: lg, md, or sm. */
size?: ButtonSize;
};
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=Button.d.ts.map