mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 07:47:29 +03:00 
			
		
		
		
	chore: prettier + export
This commit is contained in:
		
							parent
							
								
									f52d9e875b
								
							
						
					
					
						commit
						84e03e2d07
					
				|  | @ -57,22 +57,19 @@ export class MenuItem extends React.Component<MenuItemProps> { | ||||||
|               {item.name} |               {item.name} | ||||||
|               {this.props.children} |               {this.props.children} | ||||||
|             </MenuItemTitle> |             </MenuItemTitle> | ||||||
|             {(item.depth > 0 && |             {(item.depth > 0 && item.items.length > 0 && ( | ||||||
|               item.items.length > 0 && ( |               <ShelfIcon float={'right'} direction={item.expanded ? 'down' : 'right'} /> | ||||||
|                 <ShelfIcon float={'right'} direction={item.expanded ? 'down' : 'right'} /> |             )) || | ||||||
|               )) || |  | ||||||
|               null} |               null} | ||||||
|           </MenuItemLabel> |           </MenuItemLabel> | ||||||
|         )} |         )} | ||||||
|         {!withoutChildren && |         {!withoutChildren && item.items && item.items.length > 0 && ( | ||||||
|           item.items && |           <MenuItems | ||||||
|           item.items.length > 0 && ( |             expanded={item.expanded} | ||||||
|             <MenuItems |             items={item.items} | ||||||
|               expanded={item.expanded} |             onActivate={this.props.onActivate} | ||||||
|               items={item.items} |           /> | ||||||
|               onActivate={this.props.onActivate} |         )} | ||||||
|             /> |  | ||||||
|           )} |  | ||||||
|       </MenuItemLi> |       </MenuItemLi> | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  | @ -83,7 +80,7 @@ export interface OperationMenuItemContentProps { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @observer | @observer | ||||||
| class OperationMenuItemContent extends React.Component<OperationMenuItemContentProps> { | export class OperationMenuItemContent extends React.Component<OperationMenuItemContentProps> { | ||||||
|   render() { |   render() { | ||||||
|     const { item } = this.props; |     const { item } = this.props; | ||||||
|     return ( |     return ( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user