forked from coracle/flotilla
Add profile detail and notes to self
This commit is contained in:
@@ -24,6 +24,12 @@ export const pushModal = (
|
||||
return id
|
||||
}
|
||||
|
||||
export const pushDrawer = (
|
||||
component: ComponentType,
|
||||
props: Record<string, any> = {},
|
||||
options: ModalOptions = {},
|
||||
) => pushModal(component, props, {...options, drawer: true})
|
||||
|
||||
export const clearModal = () => {
|
||||
goto("#")
|
||||
emitter.emit("close")
|
||||
|
||||
Reference in New Issue
Block a user