mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 20:23:29 +08:00
rename formfield files for clarity
This commit is contained in:
@ -44,7 +44,7 @@ export const INPUT_STATES = {
|
||||
};
|
||||
|
||||
// Don't like any of the default messages in INPUT_STATES? Create a state with custom message by providing an icon style with your message.
|
||||
export function createInputStatus(type: InputStatusTypes, message: string): StatusState {
|
||||
export function createInputStatus(type: InputStatusTypes, message?: string): StatusState {
|
||||
if (!type || !INPUT_STATES[type]) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user