Skip to content

Commit 039f5c2

Browse files
committed
fix(types): popover attributes allow width
1 parent 251834f commit 039f5c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types/popover.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ export const PopPlacementsArray = [
2222

2323
export type PopPlacements = AnyElementOf<typeof PopPlacementsArray>
2424

25-
export interface PopoverAttributes extends Record<string, any> {
25+
export interface PopoverAttributes {
2626
placement?: PopPlacements
2727
popoverClasses?: string
2828
offset?: string
29+
width?: string | number
2930
}
3031

0 commit comments

Comments
 (0)