mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 23:54:25 +00:00
feat(share): add allow download config to share links (#275)
* feat(share): add allow download config to share links * fix(share): hide download in public share list page when disabled
This commit is contained in:
@@ -31,6 +31,8 @@ export interface TopNavProjectState {
|
||||
}>
|
||||
isPublic?: boolean
|
||||
shareId?: string
|
||||
/** When false, the public share hides download affordances. Defaults to true. */
|
||||
allowDownload?: boolean
|
||||
onFolderClick?: (folderId: string) => void
|
||||
isRightSidebarCollapsed?: boolean
|
||||
onRightSidebarToggle?: () => void
|
||||
|
||||
Reference in New Issue
Block a user