generate_component
Create React components with TypeScript support by specifying name, path, type, and props. Part of the Node Omnibus MCP Server for streamlined Node.js development.
Instructions
Generate a new React component with TypeScript support
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name | |
| path | Yes | Component directory path | |
| props | No | Component props with types | |
| type | Yes | Component type |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "Component name",
"type": "string"
},
"path": {
"description": "Component directory path",
"type": "string"
},
"props": {
"additionalProperties": {
"type": "string"
},
"description": "Component props with types",
"type": "object"
},
"type": {
"description": "Component type",
"enum": [
"functional",
"class"
],
"type": "string"
}
},
"required": [
"name",
"path",
"type"
],
"type": "object"
}