0.0.2 • Published 5 years ago
mofron-comp-imgtxt v0.0.2
mofron-comp-imgtxt
mofron is module based frontend framework.
image text component for mofron
display image next to text
Feature
- image size is synced with text height in +0.05rem offset.
Install
npm install mofron mofron-comp-imgtxt
Sample
<require>
<tag module="mofron-comp-imgtxt">ImgTxt</tag>
</require>
<ImgTxt src="./img/logo.png">image text</ImgTxt>
Parameter
SimpleParam | Parameter Name | Type | Description |
---|---|---|---|
src | string | image path | |
image | mofron-comp-image | image component | |
◯ | text | string | text contents |