Container for different types of multimedia content for use in a context like a picker in a form or that type of thing. Provides a 'media present' state and a 'nothing has been selected state.'
bower install koco-multimedia-container
This is a shared module that is used in many other modules. Register it in your components.js:
Also add the container's styles to your less file:
And then you can use it like this:
Pass a removeTitle (which will be used as the alt for the X button to remove the image), and a defaultImageUrl for use when we don't have an image (for example if you remove it!). defaultImageUrl can be a full url or path.