carbon-react
Version:
A library of reusable React components for easily building user interfaces.
29 lines (28 loc) • 1.57 kB
TypeScript
import { FlatTableProps } from "./flat-table.component";
import { DrawerSidebarContextProps } from "../drawer/__internal__/drawer-sidebar.context";
declare const StyledTableContainer: import("styled-components").StyledComponent<"div", any, Pick<FlatTableProps, "width" | "overflowX">, never>;
declare const StyledFlatTable: import("styled-components").StyledComponent<"table", any, Pick<FlatTableProps, "caption" | "isZebra"> & {
size: NonNullable<FlatTableProps["size"]>;
}, never>;
interface StyledFlatTableWrapperProps extends Pick<FlatTableProps, "hasStickyFooter" | "colorTheme" | "hasStickyHead" | "footer" | "hasOuterVerticalBorders">, Partial<DrawerSidebarContextProps> {
hasHorizontalScrollbar: boolean;
hasVerticalScrollbar: boolean;
lastColRowSpanIndex: number;
firstColRowSpanIndex: number;
bottomBorderRadius: NonNullable<FlatTableProps["bottomBorderRadius"]>;
}
declare const StyledFlatTableWrapper: import("styled-components").StyledComponent<"div", any, {
theme: object;
} & Omit<import("../box").BoxProps, "borderRadius"> & {
cssProps?: {
color?: string;
opacity?: string;
height?: string;
width?: string;
};
$borderRadius?: import("../box").BoxProps["borderRadius"];
} & StyledFlatTableWrapperProps, "theme">;
declare const StyledFlatTableFooter: import("styled-components").StyledComponent<"div", any, {
theme: object;
} & Pick<FlatTableProps, "hasStickyFooter">, "theme">;
export { StyledFlatTableWrapper, StyledFlatTable, StyledFlatTableFooter, StyledTableContainer, };