@primer/react
Version:
An implementation of GitHub's Primer Design System using React
14 lines • 690 B
TypeScript
import type React from 'react';
import { type SxProp } from '../sx';
import type { TokenSizeKeys } from './TokenBase';
interface TokenButtonProps extends SxProp {
borderOffset?: number;
size?: TokenSizeKeys;
isParentInteractive?: boolean;
}
type RemoveTokenButtonProps = TokenButtonProps & Omit<React.HTMLProps<HTMLSpanElement | HTMLButtonElement>, 'size'>;
declare const RemoveTokenButton: ({ "aria-label": ariaLabel, isParentInteractive, size, className, borderOffset, as: _as, ...rest }: React.PropsWithChildren<RemoveTokenButtonProps & {
as?: React.ElementType;
}>) => React.JSX.Element;
export default RemoveTokenButton;
//# sourceMappingURL=_RemoveTokenButton.d.ts.map