Skip to content

Commit

Permalink
optional options
Browse files Browse the repository at this point in the history
  • Loading branch information
davay42 committed Jan 31, 2023
1 parent 224febb commit 2fddf57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const cache = {}; // stores already generated avatars
export interface AvatarOptions {
pub: string
size?: number
dark: boolean
draw: 'circles' | 'squares'
reflect: boolean
dark?: boolean
draw?: 'circles' | 'squares'
reflect?: boolean
}

// actual generator function, returns the base64 string
Expand Down

0 comments on commit 2fddf57

Please sign in to comment.