You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-23 15:42:28 +03:00
Update type Completion
This commit is contained in:
@@ -34,12 +34,9 @@ export type Completion = {
|
|||||||
component: ?Component,
|
component: ?Component,
|
||||||
range: SelectionRange,
|
range: SelectionRange,
|
||||||
command: ?string,
|
command: ?string,
|
||||||
// An entity applied during the replacement (using draftjs@0.8.1 Entity.create)
|
// If provided, apply a LINK entity to the completion with the
|
||||||
entity: ? {
|
// data = { url: href }.
|
||||||
type: string,
|
href: ?string,
|
||||||
mutability: string,
|
|
||||||
data: ?Object,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const PROVIDERS = [
|
const PROVIDERS = [
|
||||||
|
|||||||
Reference in New Issue
Block a user