Enforce member-delimiter-style using eslint (#4870)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-02-16 14:43:03 -05:00
1 parent 1c7641708e
commit 600bd659f6
158 files changed
+304 -294

No files matched your search

@@ -9,9 +9,9 @@ import { useMutationObserver } from "../../hooks";
import type { NavigationTree } from "../tree-view";
interface Props extends React.DOMAttributes<HTMLElement> {
render: (data: NavigationTree[]) => JSX.Element
htmlFor?: string // Id of the element to put observers on
rootMargin?: string // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer
render: (data: NavigationTree[]) => JSX.Element;
htmlFor?: string; // Id of the element to put observers on
rootMargin?: string; // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer
}
export const ScrollSpy = observer(({ render, htmlFor, rootMargin = "0px 0px -100% 0px" }: Props) => {