Package: @hexos/react-ui

Generates CSS class string for button variants.

Combines base styles with variant and size-specific classes. Used internally by Buttonand can be used externally for custom button implementations.

function buttonVariants(variant: string, size: string): string

Parameters

variant

string

size

string