Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
Optional aria-atomic
aria-atomic?:Booleanish
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
presented if they are made.
Optional aria-busy
aria-busy?:Booleanish
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
Indicates what functions can be performed when a dragged object is released on the drop target.
deprecated
in ARIA 1.1
Optional aria-errormessage
aria-errormessage?:string
Identifies the element that provides an error message for the object.
see
aria-invalid @see aria-describedby.
Optional aria-expanded
aria-expanded?:Booleanish
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Optional aria-flowto
aria-flowto?:string
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
allows assistive technology to override the general default of reading in document source order.
Optional aria-grabbed
aria-grabbed?:Booleanish
Indicates an element's "grabbed" state in a drag-and-drop operation.
Indicates the entered value does not conform to the format expected by the application.
see
aria-errormessage.
Optional aria-keyshortcuts
aria-keyshortcuts?:string
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Optional aria-label
aria-label?:string
Defines a string value that labels the current element.
see
aria-labelledby.
Optional aria-labelledby
aria-labelledby?:string
Identifies the element (or elements) that labels the current element.
see
aria-describedby.
Optional aria-level
aria-level?:number
Defines the hierarchical level of an element within a structure.
Optional aria-live
aria-live?:"off" | "assertive" | "polite"
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Optional aria-modal
aria-modal?:Booleanish
Indicates whether an element is modal when displayed.
Optional aria-multiline
aria-multiline?:Booleanish
Indicates whether a text box accepts multiple lines of input or only a single line.
Optional aria-multiselectable
aria-multiselectable?:Booleanish
Indicates that the user may select more than one item from the current selectable descendants.
Optional aria-orientation
aria-orientation?:"horizontal" | "vertical"
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
Optional aria-owns
aria-owns?:string
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
see
aria-controls.
Optional aria-placeholder
aria-placeholder?:string
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
A hint could be a sample value or a brief description of the expected format.
Optional aria-posinset
aria-posinset?:number
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
If you want to apply a sort icon for a header cell, set this prop to either
"ascending" or "descending". When you change the sort order, this prop
should change as well which will cause the sort icon to rotate. The default
behavior is to have the icon facing upwards and not-rotated when
"ascending", otherwise it will rotate downwards when "descending".
If this prop is set to "none", the cell will render the clickable button
in the children, just without the sort icon. This is so that the sort
behavior can still be toggled for keyboard users and will be tab-focusable.
Optional aria-valuemax
aria-valuemax?:number
Defines the maximum allowed value for a range widget.
Optional aria-valuemin
aria-valuemin?:number
Defines the minimum allowed value for a range widget.
Optional aria-valuenow
aria-valuenow?:number
Defines the current value for a range widget.
see
aria-valuetext.
Optional aria-valuetext
aria-valuetext?:string
Defines the human readable text alternative of aria-valuenow for a range widget.
Optional autoCapitalize
autoCapitalize?:string
Optional autoCorrect
autoCorrect?:string
Optional autoSave
autoSave?:string
Optional children
children?:ReactNode
Optional className
className?:string
Optional colSpan
colSpan?:number | "100%"
The number of columns that the cell should span. If you would like a cell
to span an entire row ignoring the other rows and cells, you can set this
value to the number of columns within your table or "100%".
Optional color
color?:string
Optional contentEditable
contentEditable?:Booleanish | "inherit"
Optional contextMenu
contextMenu?:string
Optional dangerouslySetInnerHTML
dangerouslySetInnerHTML?:{ __html: string }
Type declaration
__html: string
Optional datatype
datatype?:string
Optional defaultChecked
defaultChecked?:boolean
Optional defaultValue
defaultValue?:string | number | readonly string[]
Optional dir
dir?:string
Optional disablePadding
disablePadding?:boolean
Boolean if cell should no longer have any padding since you want a child
element to span the entire size of the cell instead. This is helpful when
rendering clickable and focusable elements within a cell.
This will be defaulted to true if the "aria-sort" prop has been
provided and the sortIcon is not resoled as null. You can override this
default behavior by manually setting this to true or false.
Optional draggable
draggable?:Booleanish
Optional grow
grow?:boolean
This is a bit of a "weird" prop since all it does is apply width: 100% to
this cell. This will make this specific cell fill the remaining width of
the table (if there is any). If no cells have this prop enabled and the
fullWidth table configuration is enabled, all cells will have an
equal-sized width.
Boolean if all the TableCell components should be rendered as a <th>
instead of a <td>. This is really just a convenience prop for the
TableHeader component so the user of react-md doesn't need to keep
setting the type="th" fot the TableCell if using the low-level
components.
Boolean if the <td> and <th> cells should support line wrapping. This
is disabled by default since you normally don't want line wrapping in
tables unless it provides additional descriptions or other content.
If this is set to the string "padded", line wrapping will be enabled
along with adding some additional vertical padding to each cell.
This prop is only valid when the header prop is enabled or the
TableCell is a child of the TableHeader component. This will generally
be used with a value of "row" if you have table headers that are at the
start of each row instead of at the top of the table.
Optional security
security?:string
Optional slot
slot?:string
Optional sortIcon
sortIcon?:ReactNode
An optional sort icon to use. This will be defaulted to the configured sort
icon from the @react-md/icon package. If you do not want the default
implementation for the sort icon behavior from react-md, you can set this
prop to null.
Optional sortIconAfter
sortIconAfter?:boolean
Boolean if the sort icon should appear after the children in the cell
instead of before.
Optional sortIconRotated
sortIconRotated?:boolean
Boolean if the sort icon should be rotated instead of the default
direction. When this is undefined, it will only be true when the
"aria-sort" prop is set to "descending". If this is not undefined,
its boolean value will always be used.
If this is a trueish value, the cell will become a sticky cell that will be
fixed while the user scrolls the table. When this is a boolean (or
inherited from a TableHeader) or set to "header", the cell will act as
a sticky header that will be visible for vertical scrolling.
When this is set to "cell", the cell will be fixed to the left or right
for horizontal scrolling.
Finally, if this is set to "header-cell", it will be a combination of
both vertical and horizontal scrolling. This means that other sticky header
cells will scroll beneath this cell.
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.