Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Nov 14, 2024
1 parent 1cd8161 commit a2e49f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {

export function useSimpleOrChildrenRenderer<O extends HTMLElement>(
fnRenderer?: ComponentType<ReactSimpleRendererProps<O>> | null,
children?: ReactNode | ComponentType<ReactSimpleRendererProps<O>>
children?: ReactNode | ComponentType<ReactSimpleRendererProps<O>>,
): UseRendererResult<WebComponentSimpleRenderer<O>> {
let _children: ReactNode | undefined;
let _fnRenderer: ComponentType<ReactSimpleRendererProps<O>> | null | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function convertSimpleRendererArgs<O extends HTMLElement>([original]: Slice<
}

export function useSimpleRenderer<O extends HTMLElement>(
reactRenderer?: ComponentType<ReactSimpleRendererProps<O>> | null
reactRenderer?: ComponentType<ReactSimpleRendererProps<O>> | null,
): UseRendererResult<WebComponentSimpleRenderer<O>> {
return useRenderer(reactRenderer, convertSimpleRendererArgs);
}

0 comments on commit a2e49f3

Please sign in to comment.