@spark-ui/components
Version:
Spark (Leboncoin design system) components.
17 lines (14 loc) • 569 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { Ref } from 'react';
import { ButtonProps } from '../button/index.js';
import 'class-variance-authority/types';
import 'class-variance-authority';
interface IconButtonProps extends Omit<ButtonProps, 'loadingText'> {
'aria-label': string;
ref?: Ref<HTMLButtonElement>;
}
declare const IconButton: {
({ design, disabled, intent, shape, size, className, ref, ...others }: IconButtonProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
export { IconButton, type IconButtonProps };