-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: FloatAreaのresponseMessage属性の型を実装に合わせて調整する (#5299)
- Loading branch information
Showing
3 changed files
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { ReactNode } from 'react' | ||
|
||
export type ResponseMessageTypeWithoutProcessing = { | ||
status: 'success' | 'error' | ||
text: ReactNode | ||
} | ||
export type ResponseMessageType = | ||
| { | ||
status: 'success' | 'error' | ||
text: ReactNode | ||
} | ||
| ResponseMessageTypeWithoutProcessing | ||
| { | ||
status: 'processing' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export type { Gap, SeparateGap } from './Gap' | ||
export type { DecoratorsType, DecoratorType } from './Decorator' | ||
export type { ResponseMessageType } from './ResponseMessage' | ||
export type { ResponseMessageType, ResponseMessageTypeWithoutProcessing } from './ResponseMessage' | ||
export type { LocaleMap } from './Locale' | ||
export type { ElementRef, ElementRefProps } from './ComponentTypes' |