Common properties supported by all public react components.
This type allows for the customization of
classNamecss propertyaria-* propertiesdata-* propertiesProp types for react components typically inherit from this interface.
Arbitrary data attributes.
NOTE: The component may use data properties for its own behavior. Make sure not to overwrite required attributes.
OptionalclassName?: stringAdditional class name(s).
Optionalcss?: SystemStyleObject | SystemStyleObject[]Custom style rules using Chakra's style objects.
Optionaldata-testid?: stringUsed for testing.
Optionalrole?: AriaRoleCustom ARIA role.
A helper hook that computes react properties for the topmost container in a public react component.
Example: