mirror of
				https://github.com/csunny/DB-GPT.git
				synced 2025-10-30 22:28:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			356 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			356 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { IFlowNodeParameter } from '@/types/flow';
 | |
| import { convertKeysToCamelCase } from '@/utils/flow';
 | |
| import { Input } from 'antd';
 | |
| 
 | |
| const { TextArea } = Input;
 | |
| 
 | |
| export const renderTextArea = (data: IFlowNodeParameter) => {
 | |
|   const attr = convertKeysToCamelCase(data.ui?.attr || {});
 | |
|   return <TextArea className='nowheel mb-3 nodrag' {...attr} />;
 | |
| };
 |