Skip to content

Commit

Permalink
fix:to fixed ToolbarOption is undenfined (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlang0311 committed May 29, 2021
1 parent 394c3f1 commit f7c2ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare namespace Viewer {
export type Visibility = 0 | 1 | 2 | 3 | 4;
export type ToolbarButtonSize = 'small' | 'medium' | 'large';
export type ToolbarOption = boolean | Visibility | ToolbarButtonSize | Function | ToolbarButtonOptions
export type ToolbarOption = boolean | Visibility | ToolbarButtonSize | Function | ToolbarButtonOptions | undefined;

export interface ToolbarButtonOptions {
click?: Function,
Expand Down

0 comments on commit f7c2ab1

Please sign in to comment.