public: update landing page
This commit is contained in:
@@ -84,3 +84,16 @@ Button.defaultProps = {
|
||||
};
|
||||
|
||||
export { Button, buttonVariants };
|
||||
|
||||
export interface ALinkProps
|
||||
extends React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
||||
VariantProps<typeof buttonVariants> {}
|
||||
|
||||
export const ALink = ({ variant, size, className, ...props }: ALinkProps) => {
|
||||
return (
|
||||
<a
|
||||
{...props}
|
||||
className={cn(buttonVariants({ variant, size, className }))}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user