From 2300cbb3057a78c797833856f3bc745964b9a1a7 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Thu, 17 Feb 2022 14:14:32 +0100 Subject: [PATCH] update format Signed-off-by: Johan Haals --- .changeset/large-baboons-wash.md | 2 +- .../src/components/EntitySearchBar/EntitySearchBar.tsx | 3 ++- plugins/catalog-react/src/filters.ts | 3 ++- plugins/catalog-react/src/hooks/useEntityKinds.ts | 3 ++- plugins/catalog-react/src/hooks/useEntityListProvider.tsx | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.changeset/large-baboons-wash.md b/.changeset/large-baboons-wash.md index 9c1ff24e2f..67204bb13c 100644 --- a/.changeset/large-baboons-wash.md +++ b/.changeset/large-baboons-wash.md @@ -4,4 +4,4 @@ Improved API documentation. -**Breaking change**: The individual table column factories (e.g. `createEntityRefColumn`) are now no longer available directly, but only through `EntityTable.columns`. +**BREAKING**: The individual table column factories (e.g. `createEntityRefColumn`) are now no longer available directly, but only through `EntityTable.columns`. diff --git a/plugins/catalog-react/src/components/EntitySearchBar/EntitySearchBar.tsx b/plugins/catalog-react/src/components/EntitySearchBar/EntitySearchBar.tsx index fb7279671f..f13fb1621f 100644 --- a/plugins/catalog-react/src/components/EntitySearchBar/EntitySearchBar.tsx +++ b/plugins/catalog-react/src/components/EntitySearchBar/EntitySearchBar.tsx @@ -47,7 +47,8 @@ const useStyles = makeStyles( /** * Renders search bar for filtering the entity list. - * @public */ + * @public + */ export const EntitySearchBar = () => { const classes = useStyles(); diff --git a/plugins/catalog-react/src/filters.ts b/plugins/catalog-react/src/filters.ts index ce8b63f62a..5d2c2e531b 100644 --- a/plugins/catalog-react/src/filters.ts +++ b/plugins/catalog-react/src/filters.ts @@ -35,7 +35,8 @@ export class EntityKindFilter implements EntityFilter { } } -/** Filters entities based on type +/** + * Filters entities based on type * @public */ export class EntityTypeFilter implements EntityFilter { diff --git a/plugins/catalog-react/src/hooks/useEntityKinds.ts b/plugins/catalog-react/src/hooks/useEntityKinds.ts index 6bd39be3c8..7bc0dd47ae 100644 --- a/plugins/catalog-react/src/hooks/useEntityKinds.ts +++ b/plugins/catalog-react/src/hooks/useEntityKinds.ts @@ -18,7 +18,8 @@ import useAsync from 'react-use/lib/useAsync'; import { useApi } from '@backstage/core-plugin-api'; import { catalogApiRef } from '../api'; -/** Retrieve a list of unique entity kinds present in the catalog +/** + * Retrieve a list of unique entity kinds present in the catalog * @public */ export function useEntityKinds() { diff --git a/plugins/catalog-react/src/hooks/useEntityListProvider.tsx b/plugins/catalog-react/src/hooks/useEntityListProvider.tsx index 0dda80be12..d6c4e3749a 100644 --- a/plugins/catalog-react/src/hooks/useEntityListProvider.tsx +++ b/plugins/catalog-react/src/hooks/useEntityListProvider.tsx @@ -109,7 +109,8 @@ type OutputState = { /** * Provides entities and filters for a catalog listing. - * @public */ + * @public + */ export const EntityListProvider = ({ children, }: PropsWithChildren<{}>) => {