BaseButton
& { Segmented
: typeof SegmentedButton
; buttonVariants
: typeof buttonVariants
}
CollapseRoot
& { panel
: typeof Panel
}
RecordType
>: Object
Name | Type |
---|---|
RecordType | extends unknown = any |
Name | Type |
---|---|
align? | "left" | "center" | "right" |
className? | string | (record : RecordType , index : number ) => string |
dataIndex | string |
fixed? | ColumnFixed |
formatter? | (value : any , record : RecordType , index : number ) => any |
getKey? | (record : RecordType , index : number ) => string |
hint? | ReactNode |
hintClassName? | string |
onSort? | boolean | (r1 : RecordType , r2 : RecordType , sortOrder : SortOrder ) => number |
render? | (value : any , record : RecordType , index : number ) => React.ReactNode |
title | string |
width? | number |
Numeral
& { symbol
: typeof NumeralWithSymbol
; total
: typeof NumeralTotal
; withCtx
: typeof NumeralWithCtx
}
Text
& { tradingPair
: typeof TradingPair
}
Object
Name | Type |
---|---|
from? | Date |
to? | Date |
DepositRoot
& { withDialog
: typeof DepositWithDialog
; withSheet
: typeof DepositWithSheet
}
BaseLayout
& { Content
: typeof Content
; Footer
: typeof Footer
; Header
: typeof Header
; PageHeader
: typeof PageHeader
; Sider
: typeof Sider
; Split
: typeof Split
}
ListTile
& { symbol
: typeof ListTileForSymbol
}
Object
Name | Type |
---|---|
app | { appIcons : AppLogos ; brokerId : string ; brokerName : string } |
app.appIcons | AppLogos |
app.brokerId | string |
app.brokerName | string |
pages | { trading? : { tradingView? : { library_path : string ; scriptSRC : string } } } |
pages.trading? | { tradingView? : { library_path : string ; scriptSRC : string } } |
pages.trading.tradingView? | { library_path : string ; scriptSRC : string } |
pages.trading.tradingView.library_path | string |
pages.trading.tradingView.scriptSRC | string |
wallet | { apiKey? : string ; options? : any } |
wallet.apiKey? | string |
wallet.options? | any |
Object
BaseTradingPage
& { desktop
: typeof DesktopTradingPage
; mobile
: typeof MobileTradingPage
}
Const
AssetsContext: Context
<AssetsContextState
>
Const
OrderlyAppContext: Context
<OrderlyAppContextState
>
Const
SymbolContext: Context
<SymbolContextState
>
Const
TabContext: Context
<TabContextState
>
Const
TradingPageContext: Context
<TradingPageContextValue
>
Const
modal: Object
Name | Type |
---|---|
actionSheet | (items : ActionSheetItem []) => Promise <unknown > |
alert | (props : AlertDialogProps ) => Promise <unknown > |
confirm | (props : ConfirmProps ) => Promise <unknown > |
dialog | (props : DialogProps ) => Promise <unknown > |
hide | <T>(modal : string | FC <any >) => Promise <T > |
register | <T>(id : string , comp : T , props? : Partial <ModalArgs <T >>) => void |
remove | (id : string ) => void |
setStates | (id : string , states : Record <string , unknown >) => void |
sheet | (props : SheetProps ) => Promise <unknown > |
show | <T, C>(modal : FC <C >, args? : Omit <C , "id" >) => Promise <T ><T>(modal : string , args? : Record <string , unknown >) => Promise <T ><T, P>(modal : string , args? : P ) => Promise <T > |
unregister | (id : string ) => void |
"1.5.7"
props
, context?
): ReactNode
Name | Type |
---|---|
props | AccountStatusProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | AlertDialogProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | AssetAndMarginProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | Object |
props.children? | ReactNode |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | ButtonProps & RefAttributes <HTMLButtonElement > |
ReactNode
«destructured»
): Element
Name | Type |
---|---|
«destructured» | DayPickerDefaultProps | DayPickerSingleProps | DayPickerMultipleProps | DayPickerRangeProps |
Element
props
, context?
): ReactNode
Name | Type |
---|---|
props | ChainListViewProps & ModalHocProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | ChainListViewProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | ChainSelectProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | ClosePositionPaneProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <{ activeKey? : string }> |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | CollapsibleProps & RefAttributes <HTMLDivElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | CollapsibleContentProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | CollapsibleTriggerProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | unknown |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | Object |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DepositProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DepositAndWithdrawProps & ModalHocProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DepositAndWithdrawProps & ModalHocProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DialogProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <DialogBodyProps > |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DialogContentProps & RefAttributes <HTMLDivElement >, "ref" > & VariantProps <(props? : Object ) => string > & { closable? : boolean ; closeableSize? : number } & RefAttributes <HTMLDivElement > |
ReactNode
«destructured»
): Element
Name | Type |
---|---|
«destructured» | HTMLAttributes <HTMLDivElement > |
Element
«destructured»
): Element
Name | Type |
---|---|
«destructured» | HTMLAttributes <HTMLDivElement > |
Element
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DialogTitleProps & RefAttributes <HTMLHeadingElement >, "ref" > & RefAttributes <HTMLHeadingElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DialogTriggerProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <DividerProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DropdownMenuProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuCheckboxItemProps & RefAttributes <HTMLDivElement >, "ref" > & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuContentProps & RefAttributes <HTMLDivElement >, "ref" > & { container? : HTMLElement } & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DropdownMenuGroupProps & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuItemProps & RefAttributes <HTMLDivElement >, "ref" > & { inset? : boolean } & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuLabelProps & RefAttributes <HTMLDivElement >, "ref" > & { inset? : boolean } & RefAttributes <HTMLDivElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DropdownMenuPortalProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DropdownMenuRadioGroupProps & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuRadioItemProps & RefAttributes <HTMLDivElement >, "ref" > & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuSeparatorProps & RefAttributes <HTMLDivElement >, "ref" > & RefAttributes <HTMLDivElement > |
ReactNode
«destructured»
): Element
Name | Type |
---|---|
«destructured» | HTMLAttributes <HTMLSpanElement > |
Element
props
, context?
): ReactNode
Name | Type |
---|---|
props | DropdownMenuSubProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuSubContentProps & RefAttributes <HTMLDivElement >, "ref" > & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DropdownMenuSubTriggerProps & RefAttributes <HTMLDivElement >, "ref" > & { inset? : boolean } & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DropdownMenuTriggerProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | EmptyViewProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <EndReachedBoxProps > |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | InputProps & RefAttributes <HTMLInputElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | LayoutProps |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <ListTileProps > |
context? | any |
ReactNode
T
, D
>(props
): Element
Name |
---|
T |
D |
Name | Type |
---|---|
props | ListViewProps <T , D > & { ref? : ForwardedRef <{ scroll : (direction : { x : number ; y : number }) => void }> } |
Element
props
, context?
): ReactNode
Name | Type |
---|---|
props | MarketsProps & { listHeight? : number } |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | MarketsProps & Props |
context? | any |
ReactNode
props
): Element
Name | Type |
---|---|
props | IntrinsicAttributes & SVGProps <SVGSVGElement > |
Element
props
, context?
): ReactNode
Name | Type |
---|---|
props | OrderBookProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | OrderEntryProps & RefAttributes <OrderEntryRef > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <CommonOrderlyAppState & { contracts? : IContract ; includeTestnet? : boolean ; referral? : ReferralProps ; toastLimitCount? : number } & ConfigProviderProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | OrdersViewProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <PageProps > |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | PickerProps & RefAttributes <PickerRef > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | Object |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PositionsViewProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | Omit <PositionsViewProps , "onShowAllSymbolChange" > & { pnlNotionalDecimalPrecision : any ; setUnPnlPriceBasic : any ; unPnlPriceBasis : any } |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <ProgressProps & RefAttributes <HTMLDivElement >, "ref" > & ProgressProps & RefAttributes <HTMLDivElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | SelectProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | DialogProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DialogCloseProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | SheetContentProps & RefAttributes <HTMLDivElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DialogDescriptionProps & RefAttributes <HTMLParagraphElement >, "ref" > & RefAttributes <HTMLParagraphElement > |
ReactNode
«destructured»
): Element
Name | Type |
---|---|
«destructured» | HTMLAttributes <HTMLDivElement > |
Element
«destructured»
): Element
Name | Type |
---|---|
«destructured» | HTMLAttributes <HTMLDivElement > & { leading? : ReactNode } |
Element
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <DialogTitleProps & RefAttributes <HTMLHeadingElement >, "ref" > & RefAttributes <HTMLHeadingElement > |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | DialogTriggerProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <BaseDialogProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | SpinnerProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | StatisticProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | SwitchProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <FormatterProviderProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | FooterStatusBarProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | TabListProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <TabPaneProps > |
context? | any |
ReactNode
RecordType
>(props
): Element
Name | Type |
---|---|
RecordType | extends unknown |
Name | Type |
---|---|
props | TableProps <RecordType > |
Element
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | TabsProps & { children? : ReactNode } & RefAttributes <{ getContainer : () => HTMLDivElement }> |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <TextProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | TooltipProps & Omit <TooltipContentProps & RefAttributes <HTMLDivElement >, "ref" > |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | Omit <TooltipContentProps & RefAttributes <HTMLDivElement >, "ref" > & RefAttributes <HTMLDivElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | TooltipProviderProps |
context? | any |
ReactNode
props
): ReactNode
NOTE: Exotic components are not callable.
Name | Type |
---|---|
props | TooltipTriggerProps & RefAttributes <HTMLButtonElement > |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | TradeHistoryProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | TradingPageProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | PropsWithChildren <TradingPageProviderProps > |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | WalletConnectProps |
context? | any |
ReactNode
props
, context?
): ReactNode
Name | Type |
---|---|
props | WithdrawProps |
context? | any |
ReactNode
...args
): string
Name | Type |
---|---|
...args | any [] |
string
P
>(Comp
): FC
<P
& ModalHocProps
>
Name | Type |
---|---|
P | extends Object |
Name | Type |
---|---|
Comp | ComponentType <P > |
FC
<P
& ModalHocProps
>
Props
>(options
): (component
: ExtensionRenderComponentType
<Props
>) => void
Name | Type |
---|---|
Props | extends unknown = |
Name | Type |
---|---|
options | ExtensionOptions |
fn
▸ (component
): void
Name | Type |
---|---|
component | ExtensionRenderComponentType <Props > |
void
value
, options?
): string
Name | Type |
---|---|
value | string | number |
options | Object |
options.abs? | boolean |
options.padding? | boolean |
options.precision? | number |
options.rule? | "price" | "percentages" | "human" |
options.tick? | number |
options.truncate? | "round" | "ceil" | "floor" |
string
props
): Promise
<unknown
>
Name | Type |
---|---|
props | WalletConnectProps |
Promise
<unknown
>
message
, opts?
): string
Name | Type |
---|---|
message | Message |
opts? | Partial <Pick <Toast , "style" | "position" | "className" | "id" | "icon" | "duration" | "ariaProps" | "iconTheme" >> |
string
names?
): Partial
<{ [key: string]
: string
; }>
Name | Type |
---|---|
names? | string [] |
Partial
<{ [key: string]
: string
; }>
ModalHandler
ModalHandler
modal
, args?
): ModalHandler
Name | Type |
---|---|
modal | string |
args? | Record <string , unknown > |
ModalHandler
T
, ComponentProps
, PreparedProps
, RemainingProps
, ResolveType
>(modal
, args?
): Omit
<ModalHandler
, "show"
> & { show
: Partial
<RemainingProps
> extends RemainingProps
? (args?
: RemainingProps
) => Promise
<ResolveType
> : (args
: RemainingProps
) => Promise
<ResolveType
> }
Name | Type |
---|---|
T | extends FC <any > |
ComponentProps | extends Omit <any , "id" > |
PreparedProps | extends Partial <ComponentProps > = | ComponentProps |
RemainingProps | Omit <ComponentProps , keyof PreparedProps > & Partial <ComponentProps > |
ResolveType | unknown |
Name | Type |
---|---|
modal | T |
args? | PreparedProps |
Omit
<ModalHandler
, "show"
> & { show
: Partial
<RemainingProps
> extends RemainingProps
? (args?
: RemainingProps
) => Promise
<ResolveType
> : (args
: RemainingProps
) => Promise
<ResolveType
> }
TabHook
TabHook