From bdb0da5ae002b5b35507ce66441c725eebe50251 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Mon, 23 Sep 2024 17:58:12 +0200 Subject: [PATCH] Set submenu as dismissible by default. --- package.json | 2 +- src/Components/Menus/SubmenuFloat.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dcada23..45cbd54 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.5", + "version": "1.2.6", "name": "@kernelui/core", "description": "Kernel UI Core.", "scripts": { diff --git a/src/Components/Menus/SubmenuFloat.tsx b/src/Components/Menus/SubmenuFloat.tsx index d00b58b..908d278 100644 --- a/src/Components/Menus/SubmenuFloat.tsx +++ b/src/Components/Menus/SubmenuFloat.tsx @@ -5,7 +5,7 @@ import {classes, Modify} from "../../Utils"; /** * Add a submenu which opens on click on the child. */ -export function SubmenuFloat({submenu, className, mode, children, content, ...props}: Modify) { return ( - {children}