*The View object can use custom components or external react components, see the example below.*
```javascript
import React from 'react'
import { registerComponent } from 'maka'
import { Button } from 'antd'
class CustomComponent extends React.PureComponent {
render() {
return (<div>custom component</div>)
}
}
registerComponent('CustomComponent', CustomComponent)
registerComponent('antd.Button', Button)
const view = {
component: 'div',
children: [{
component: 'CustomComponent'
},{
component: 'antd.Button',
children: 'Button'
}]
}
```
- Introduction
- What is maka?
- Installation
- Getting Started
- Command Line Tool
- Main concepts
- State
- Action
- View
- Advanced concepts
- Expression
- View reserved keywords
- Custom components
- Custom template components
- ActionMixin
- App && Hub
- App
- Hub
- Maka API
- Maka Api
- Ajax && Mock
- Ajax
- Mock
- Navigate
- navigate
- Team
- Our Team
- Done