mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 18:40:50 +08:00 
			
		
		
		
	Fix prompt example docs
This commit is contained in:
		@@ -58,8 +58,8 @@ var age = AnsiConsole.Prompt(
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            return age switch
 | 
					            return age switch
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                <= 99 => ValidationResult.Error("[red]Too low[/]"),
 | 
					                < 99 => ValidationResult.Error("[red]Too low[/]"),
 | 
				
			||||||
                >= 99 => ValidationResult.Error("[red]Too high[/]"),
 | 
					                > 99 => ValidationResult.Error("[red]Too high[/]"),
 | 
				
			||||||
                _ => ValidationResult.Success(),
 | 
					                _ => ValidationResult.Success(),
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
        }));
 | 
					        }));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user