``` <Viewer visible={visible} onClose={() => { setVisible(false); }} images={[{src:image}]} /> ``` The image is an array of strings. If the array contains more than 1 string it won't display.