A base yr/component for svg/img graphics.
Usage
import { Graphic } from '@yr/graphics-component';
// Create image element with reference to "/foo.png"
const img = <Graphic id={'foo'} type={'img'}/>
// Create svg element with reference to inlined "#foo" svg symbol
// (with fallback to png at "/www/assets/images/foo.png")
const img = <Graphic id={'foo'} rootImagePath={'/www/assets/images'}/>