- Preparing search index...
- The search index is not available
Documentation
Interface GroupChannelCreateProps<User>
Properties
Fragment
Fragment
: { channelType
?: GroupChannelType; onBeforeCreateChannel
?: ((params
: GroupChannelCreateParams, users
: User[]) => GroupChannelCreateParams | Promise<GroupChannelCreateParams>); onCreateChannel
: ((channel
: GroupChannel) => void); onPressHeaderLeft
: (() => void); queryCreator
?: (() => CustomQueryInterface<User>); renderUser
?: ((user
: User, selectedUsers
: User[], setSelectedUsers
: Dispatch<SetStateAction<User[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>); sortComparator
?: ((a
: User, b
: User) => number); }
Type declaration
-
-
Optional
onBeforeCreateChannel?: ((params: GroupChannelCreateParams, users: User[]) => GroupChannelCreateParams | Promise<GroupChannelCreateParams>)
-
- (params: GroupChannelCreateParams, users: User[]): GroupChannelCreateParams | Promise<GroupChannelCreateParams>
-
Parameters
-
params: GroupChannelCreateParams
-
users: User[]
Returns GroupChannelCreateParams | Promise<GroupChannelCreateParams>
-
onCreateChannel: ((channel: GroupChannel) => void)
-
- (channel: GroupChannel): void
-
Returns void
-
onPressHeaderLeft: (() => void)
-
Optional
queryCreator?: (() => CustomQueryInterface<User>)
-
- (): CustomQueryInterface<User>
-
Returns CustomQueryInterface<User>
-
Optional
renderUser?: ((user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>)
-
- (user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>): null | ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
user: User
-
selectedUsers: User[]
-
setSelectedUsers: Dispatch<SetStateAction<User[]>>
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
-
Optional
sortComparator?: ((a: User, b: User) => number)
-
- (a: User, b: User): number
-
Returns number
Render user component *