Type alias LLChatMessageMenuOptionProps<OnClickApiFnResponseData>
LLChatMessageMenuOptionProps<OnClickApiFnResponseData>: ComponentStyleProp<LLChatMessageMenuOptionStyles> & { divider?: Partial<{ bottom: boolean; top: boolean; }>; icon: ImageSourcePropType; onClickApiFn: (() => OnClickApiFnResponseData); textDesc: string; } Type Parameters
OnClickApiFnResponseData extends Promise<any>
Type declaration
Optional
divider?: Partial<{
bottom: boolean;
top: boolean;
}>
icon: ImageSourcePropType
onClickApiFn: (() => OnClickApiFnResponseData)
- (): OnClickApiFnResponseData
Returns OnClickApiFnResponseData
textDesc: string