mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(home): add connect and browse buttons [EE-4182] (#8175)
This commit is contained in:
parent
db9d87c918
commit
8936ae9b7a
16 changed files with 296 additions and 179 deletions
|
@ -1,3 +1,4 @@
|
|||
import clsx from 'clsx';
|
||||
import { ComponentProps } from 'react';
|
||||
|
||||
import { Button } from './buttons';
|
||||
|
@ -8,12 +9,14 @@ export function LinkButton({
|
|||
params,
|
||||
disabled,
|
||||
children,
|
||||
className,
|
||||
...props
|
||||
}: ComponentProps<typeof Button> & ComponentProps<typeof Link>) {
|
||||
const button = (
|
||||
<Button
|
||||
// eslint-disable-next-line react/jsx-props-no-spreading
|
||||
{...props}
|
||||
className={clsx(className, '!m-0')}
|
||||
size="medium"
|
||||
disabled={disabled}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue