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,16 +57,13 @@ 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 && |  | ||||||
|           item.items.length > 0 && ( |  | ||||||
|           <MenuItems |           <MenuItems | ||||||
|             expanded={item.expanded} |             expanded={item.expanded} | ||||||
|             items={item.items} |             items={item.items} | ||||||
|  | @ -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