Props

Component general accesible props

General properties of components

Prop
Usage

state

Sets the initial value of the local state of a component that has local variables configured

children

Write about the children of a component

style

Adds inline style properties to the component

Properties and events can be obtained from each component from the component's propTypes. Example code

CaseTittle.propTypes = {
  style: PropTypes.any,
  CaseTittle0: PropTypes.any,
  CaseTittleOnClick: PropTypes.any,
  CaseTittleOnMouseEnter: PropTypes.any,
  CaseTittleOnMouseOver: PropTypes.any,
  CaseTittleOnKeyPress: PropTypes.any,
  CaseTittleOnMouseDown: PropTypes.any,
};
export default CaseTittle;

Last updated

Was this helpful?