Skip to content

Commit

Permalink
chore: return hook type for list item
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Dec 11, 2024
1 parent feaabd0 commit ace15a1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/main/src/ListItemTemplate.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { JsxTemplate } from "@ui5/webcomponents-base/dist/index.js";
import type ListItem from "./ListItem.js";
import Button from "./Button.js";
import Icon from "./Icon.js";
Expand All @@ -8,12 +9,12 @@ import RadioButton from "./RadioButton.js";
import CheckBox from "./CheckBox.js";

export type ListItemHooks = {
listItemPreContent: any
listItemContent: any
imageBegin: any
iconBegin: any
iconEnd: any
selectionElement: any
listItemPreContent: JsxTemplate
listItemContent: JsxTemplate
imageBegin: JsxTemplate
iconBegin: JsxTemplate
iconEnd: JsxTemplate
selectionElement: JsxTemplate
}

const predefinedHooks: ListItemHooks = {
Expand Down

0 comments on commit ace15a1

Please sign in to comment.