Fix report
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -1505,21 +1505,13 @@ export interface SwitchProps extends SwitchProps_2 {
|
||||
// @public
|
||||
export const Tab: (props: TabProps) => JSX_2.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "Table" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export function Table<TData>(
|
||||
props: TableProps<TData> & {
|
||||
ref?: React.ForwardedRef<HTMLTableElement>;
|
||||
},
|
||||
): JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export namespace Table {
|
||||
var // (undocumented)
|
||||
displayName: string;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const TableCellProfile: ForwardRefExoticComponent<
|
||||
TableCellProfileProps & RefAttributes<HTMLDivElement>
|
||||
@@ -1560,19 +1552,11 @@ export interface TableCellTextProps
|
||||
title: string;
|
||||
}
|
||||
|
||||
// Warning: (ae-missing-release-tag) "TablePagination" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export function TablePagination<TData>(
|
||||
props: TablePaginationProps<TData>,
|
||||
): JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export namespace TablePagination {
|
||||
var // (undocumented)
|
||||
displayName: string;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface TablePaginationProps<TData>
|
||||
extends React.HTMLAttributes<HTMLDivElement> {
|
||||
|
||||
@@ -37,8 +37,12 @@ function getAriaSort(sortDirection: string | false) {
|
||||
return 'none';
|
||||
}
|
||||
|
||||
/** @public */
|
||||
function Table<TData>(
|
||||
/**
|
||||
* A table component built on top of TanStack Table with built-in styling.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export function Table<TData>(
|
||||
props: TableProps<TData> & { ref?: React.ForwardedRef<HTMLTableElement> },
|
||||
) {
|
||||
const { className, table, ref, ...rest } = props;
|
||||
@@ -114,7 +118,3 @@ function Table<TData>(
|
||||
</RawTable>
|
||||
);
|
||||
}
|
||||
|
||||
Table.displayName = 'Table';
|
||||
|
||||
export { Table };
|
||||
|
||||
@@ -21,8 +21,12 @@ import clsx from 'clsx';
|
||||
import { Select } from '../../Select';
|
||||
import { Icon } from '../../Icon';
|
||||
|
||||
/** @public */
|
||||
function TablePagination<TData>(props: TablePaginationProps<TData>) {
|
||||
/**
|
||||
* Pagination controls for Table components with page navigation and size selection.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export function TablePagination<TData>(props: TablePaginationProps<TData>) {
|
||||
const {
|
||||
className,
|
||||
table,
|
||||
@@ -102,7 +106,3 @@ function TablePagination<TData>(props: TablePaginationProps<TData>) {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
TablePagination.displayName = 'TablePagination';
|
||||
|
||||
export { TablePagination };
|
||||
|
||||
Reference in New Issue
Block a user