mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 15:52:25 -05:00 
			
		
		
		
	[feature] Add HTTP header permission section to frontend (#2893)
* [feature] Add HTTP header filter section to frontend * tweak naming a bit
This commit is contained in:
		
					parent
					
						
							
								35b1c54bde
							
						
					
				
			
			
				commit
				
					
						6171dcbe51
					
				
			
		
					 27 changed files with 986 additions and 68 deletions
				
			
		|  | @ -34,7 +34,7 @@ export interface TextInputProps extends React.DetailedHTMLProps< | |||
| 	React.InputHTMLAttributes<HTMLInputElement>, | ||||
| 	HTMLInputElement | ||||
| > { | ||||
| 	label?: string; | ||||
| 	label?: ReactNode; | ||||
| 	field: TextFormInputHook; | ||||
| } | ||||
| 
 | ||||
|  | @ -60,7 +60,7 @@ export interface TextAreaProps extends React.DetailedHTMLProps< | |||
| 	React.TextareaHTMLAttributes<HTMLTextAreaElement>, | ||||
| 	HTMLTextAreaElement | ||||
| > { | ||||
| 	label?: string; | ||||
| 	label?: ReactNode; | ||||
| 	field: TextFormInputHook; | ||||
| } | ||||
| 
 | ||||
|  | @ -86,7 +86,7 @@ export interface FileInputProps extends React.DetailedHTMLProps< | |||
| 	React.InputHTMLAttributes<HTMLInputElement>, | ||||
| 	HTMLInputElement | ||||
| > { | ||||
| 	label?: string; | ||||
| 	label?: ReactNode; | ||||
| 	field: FileFormInputHook; | ||||
| } | ||||
| 
 | ||||
|  | @ -133,7 +133,7 @@ export interface SelectProps extends React.DetailedHTMLProps< | |||
| 	React.SelectHTMLAttributes<HTMLSelectElement>, | ||||
| 	HTMLSelectElement | ||||
| > { | ||||
| 	label?: string; | ||||
| 	label?: ReactNode; | ||||
| 	field: TextFormInputHook; | ||||
| 	children?: ReactNode; | ||||
| 	options: React.JSX.Element; | ||||
|  | @ -164,7 +164,7 @@ export interface RadioGroupProps extends React.DetailedHTMLProps< | |||
| 	React.InputHTMLAttributes<HTMLInputElement>, | ||||
| 	HTMLInputElement | ||||
| > { | ||||
| 	label?: string; | ||||
| 	label?: ReactNode; | ||||
| 	field: RadioFormInputHook; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue