mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+11
View File
@@ -0,0 +1,11 @@
import { ButtonProps as BaseButtonProps } from '@restart/ui/Button';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
import { ButtonVariant } from './types';
export interface ButtonProps extends BaseButtonProps, Omit<BsPrefixProps, 'as'> {
active?: boolean;
variant?: ButtonVariant;
size?: 'sm' | 'lg';
}
export type CommonButtonProps = 'href' | 'size' | 'variant' | 'disabled';
declare const Button: BsPrefixRefForwardingComponent<'button', ButtonProps>;
export default Button;