Skip to content

Commit

Permalink
se añadio la exportacion de otras clases
Browse files Browse the repository at this point in the history
  • Loading branch information
everskyblue committed Apr 3, 2023
1 parent 2bd0331 commit 337a932
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ function addView(...widgets: (Page | Action | SearchAction)[]) {
}

export default addView;
export * from "./modal";
export * from "./navigation";
export * from "./preference";
export * from "./preference";
5 changes: 2 additions & 3 deletions src/navigation/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class MenuItem extends Composite {
export type { MenuItemOf };

export function menuDrawer(
menu: MenuOption,
menus: IMenuItemOption[],
eventSelectMenu: (menu: MenuItem) => void
) {
const layoutMenu = ScrollView({
Expand All @@ -47,8 +47,7 @@ export function menuDrawer(
right: 0,
bottom: 0,
}).append(
(Object.keys(menu) as string[]).map((key: string) => {
const data = menu[key];
menus.map((data: IMenuItemOption) => {
const row = Row({
layoutData: "stretch",
alignment: "centerY",
Expand Down

0 comments on commit 337a932

Please sign in to comment.