@spark-ui/components
Version:
Spark (Leboncoin design system) components.
35 lines (29 loc) • 987 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ComponentPropsWithRef, ReactNode } from 'react';
interface LinkBoxProps extends ComponentPropsWithRef<'div'> {
asChild?: boolean;
}
declare const LinkBox$1: {
({ className, asChild, ref, ...props }: LinkBoxProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
interface LinkBoxLinkProps extends ComponentPropsWithRef<'a'> {
asChild?: boolean;
}
declare const LinkBoxLink: {
({ className, asChild, ref, ...props }: LinkBoxLinkProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
interface LinkBoxRaisedProps {
className?: string;
children: ReactNode;
}
declare const LinkBoxRaised: {
({ className, ...props }: LinkBoxRaisedProps): react_jsx_runtime.JSX.Element;
displayName: string;
};
declare const LinkBox: typeof LinkBox$1 & {
Link: typeof LinkBoxLink;
Raised: typeof LinkBoxRaised;
};
export { LinkBox, type LinkBoxLinkProps, type LinkBoxProps };