mofron-comp-imgtxt
v0.0.2
Published
image text component for mofron
Readme
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-imgtxtSample
<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 |
