Interface AttributesInternal

The props any component can receive. You don't have to add this type. All components automatically accept these props.

const Component = () => <div />;
<Component key="one" />

WARNING: The implementation of a component will never have access to these attributes. The following example would be incorrect usage because Component would never have access to key:

const Component = (props: React.Attributes) => props.key;

Hierarchy

Properties

Properties

key?: null | Key

Generated using TypeDoc