(size: number)
| 2 | import { useState } from 'react' |
| 3 | |
| 4 | export const photo = (size: number) => { |
| 5 | return new Identicon(String(Math.random()) + String(Math.random()), { |
| 6 | margin: 0, |
| 7 | size: size || 20, |
| 8 | }).toString() |
| 9 | } |
| 10 | |
| 11 | export const getRandomColor = () => { |
| 12 | var letters = '0123456789ABCDEF' |
no outgoing calls
no test coverage detected
searching dependent graphs…