catalog: rename to defaultCatalogTableColumnsFunc from defaultColumnsFunc

Signed-off-by: GoFightNguyen <jsn.dev@outlook.com>
This commit is contained in:
GoFightNguyen
2023-12-24 22:17:42 +00:00
parent f24207eb6c
commit 9f73448993
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ export interface DefaultCatalogPageProps {
}
// @public (undocumented)
export const defaultColumnsFunc: CatalogTableColumnsFunc;
export const defaultCatalogTableColumnsFunc: CatalogTableColumnsFunc;
// @public
export class DefaultEntityPresentationApi implements EntityPresentationApi {
@@ -78,7 +78,7 @@ const refCompare = (a: Entity, b: Entity) => {
};
/** @public */
export const defaultColumnsFunc: CatalogTableColumnsFunc = ({
export const defaultCatalogTableColumnsFunc: CatalogTableColumnsFunc = ({
filters,
entities,
}) => {
@@ -126,7 +126,7 @@ export const defaultColumnsFunc: CatalogTableColumnsFunc = ({
/** @public */
export const CatalogTable = (props: CatalogTableProps) => {
const {
columns = defaultColumnsFunc,
columns = defaultCatalogTableColumnsFunc,
tableOptions,
subtitle,
emptyContent,
@@ -14,6 +14,6 @@
* limitations under the License.
*/
export { CatalogTable, defaultColumnsFunc } from './CatalogTable';
export { CatalogTable, defaultCatalogTableColumnsFunc } from './CatalogTable';
export type { CatalogTableProps } from './CatalogTable';
export type { CatalogTableRow, CatalogTableColumnsFunc } from './types';