(str)
| 33 | |}>; |
| 34 | |
| 35 | function isBase64(str) { |
| 36 | const regex = |
| 37 | /^data:image\/(?:gif|png|jpeg|bmp|webp)(?:;charset=utf-8)?;base64,(?:[A-Za-z0-9]|[+/])+={0,2}/; |
| 38 | return str && regex.test(str); |
| 39 | } |
| 40 | |
| 41 | export const SegmentedControlTab = ({ |
| 42 | onSelect, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…