Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BodyCellProps

Hierarchy

  • TableCellProps
    • BodyCellProps

Index

Properties

Optional align

align: "inherit" | "left" | "center" | "right" | "justify"

Set the text-align on the table cell content.

Monetary or generally number fields should be right aligned as that allows you to add them up quickly in your head without having to worry about decimals.

Optional children

children: React.ReactNode

The table cell contents.

Optional classes

classes: Partial<ClassNameMap<TableCellBaseProps>>

Override or extend the styles applied to the component.

Optional component

component: React.ElementType<TableCellBaseProps>

The component used for the root node. Either a string to use a HTML element or a component.

content

content: ReactNode

Content for the cell

Optional customclasses

customclasses: string | string[]

Custom CSS classes to pass to the button

Optional data-qa

data-qa: undefined | string

Data-qa tag to apply to the search bar and input element

Optional innerRef

innerRef: React.Ref<any>

Optional padding

padding: Padding

Sets the padding applied to the cell. By default, the Table parent component set the value (normal). default is deprecated, use normal instead.

Optional scope

scope: TableCellBaseProps["scope"]

Set scope attribute.

Optional size

size: Size

Specify the size of the cell. By default, the Table parent component set the value (medium).

Optional sortDirection

sortDirection: SortDirection

Set aria-sort direction.

Optional variant

variant: "head" | "body" | "footer"

Specify the cell type. By default, the TableHead, TableBody or TableFooter parent component set the value.

Generated using TypeDoc