()
| 150 | const [copied, setCopied] = useState(false); |
| 151 | |
| 152 | const getColorScheme = () => { |
| 153 | return JSON.stringify( |
| 154 | { |
| 155 | colors: theme, |
| 156 | }, |
| 157 | null, |
| 158 | 2 |
| 159 | ); |
| 160 | }; |
| 161 | |
| 162 | const onCopy = () => { |
| 163 | navigator.clipboard.writeText(getColorScheme()); |
no outgoing calls
no test coverage detected
searching dependent graphs…