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
* Hook for creating a style class, which sets `padding-left` and `padding-right` depending on the width of the element.
@@ -26,7 +33,7 @@ export function useResponsiveContentPadding(element: HTMLElement, returnRangeStr
26
33
* @param {boolean} [returnRangeString=false] If set to `true`, returns a tuple with the class name and range.
27
34
* @returns {(string|Array)} If `returnRangeString` is `true`, the hook returns a tuple with the class name on first and the range string on second position. Otherwise, only the class name string is returned.
0 commit comments