agroptima-design-system 1.0.8-beta.0 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,7 +7,6 @@ import { Icon } from '../Icon'
|
|
|
7
7
|
export type Variant = 'primary'
|
|
8
8
|
|
|
9
9
|
interface CustomProps {
|
|
10
|
-
id?: string
|
|
11
10
|
variant?: Variant
|
|
12
11
|
icon: IconType
|
|
13
12
|
title: string
|
|
@@ -19,7 +18,6 @@ interface CustomProps {
|
|
|
19
18
|
export type CardMenuOptionProps = CustomProps & BaseButtonProps
|
|
20
19
|
|
|
21
20
|
export function CardMenuOption({
|
|
22
|
-
id,
|
|
23
21
|
variant = 'primary',
|
|
24
22
|
className,
|
|
25
23
|
icon,
|
|
@@ -41,6 +39,7 @@ export function CardMenuOption({
|
|
|
41
39
|
role="menuitem"
|
|
42
40
|
className={cssClasses}
|
|
43
41
|
disabled={disabled}
|
|
42
|
+
type="button"
|
|
44
43
|
{...props}
|
|
45
44
|
>
|
|
46
45
|
<div className="left">
|