# Interface: ReactClassInterface

## ReactClassInterface

Composite components are higher-level components that compose other composite or host components. To create a new type of `ReactClass`, pass a specification of your new class to `React.createClass`. The only requirement of your class specification is that you implement a `render` method. var MyComponent = React.createClass({ render: function() { return
Hello World
; } }); The class specification supports a specific protocol of methods that have special meaning (e.g. `render`). See `ReactClassInterface` for more the comprehensive protocol. Any other properties and methods in the class specification will be available on the prototype.

Source:
  - src/js/bundle.js, line 56807