You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to pass in a siblings option that could format the sibling object. Will definitely need to receive a callback that returns the formatted item, and maybe another callback to check the breakpoint. Putting in the code from mauss.dev as reference.
The default value will definitely be undefined as it will not generate siblings by default. Passed options however, might either receive an object or just a single callback function. More inclined to the first one as the latter seems overcomplicated and inconvenient.
siblings: {item: ({ prev, next })=>any,breakpoint: (next: T)=>boolean}
The text was updated successfully, but these errors were encountered:
Ability to pass in a
siblings
option that could format the sibling object. Will definitely need to receive a callback that returns the formatted item, and maybe another callback to check the breakpoint. Putting in the code frommauss.dev
as reference.The default value will definitely be
undefined
as it will not generate siblings by default. Passed options however, might either receive an object or just a single callback function. More inclined to the first one as the latter seems overcomplicated and inconvenient.The text was updated successfully, but these errors were encountered: