import { UiNode , UiNodeImageAttributes } from '@ory/kratos-client' ; interface Props { node : UiNode ; attributes : UiNodeImageAttributes ; } export const NodeImage = ( { node , attributes } ) => { return ( < img data - testid = { `node/image/${ attributes . id }` } src = { attributes . src } alt = { node . meta . label ?. text } / > ) ; } ;