I have the following component, which can either contain an image or a text. Hence in JSX I check whether there\'s an image (because that means there must not be text vice versa