0.0.29 • Published 2 years ago
@airscompany/hyundai v0.0.29
@airscompany/hyundai
AIRS 컴퍼니가 제공하는 현대 테마의 React 컴포넌트 입니다.
Install
npm install --save @airscompany/hyundai
or
yarn add @airscompany/hyundai
Usage
import { SimpleImage } from '@airscompany/hyundai';
const Test = () => {
return (
<div>
<SimpleImage type={'left'} test={'안녕'} />
</div>
);
};
Docs
SimpleImage
props | type | desc | |
---|---|---|---|
image | IImage | required | |
customStyle | ICustomStyle | optional |
SimpleText
props | type | desc | |
---|---|---|---|
type | string | required | |
text | string | required | |
loading | boolean | optional | default = false |
customStyle | ICustomStyle | optional |
CardBasic
props | type | desc | |
---|---|---|---|
image | IImage | optional | |
category | ICategory | optional | |
title | string | optional | |
mainText | string | optional | |
buttons | IButton[] | optional | |
customStyle | ICustomStyle | optional |
CardBullet
props | type | desc | |
---|---|---|---|
image | IImage | optional | |
title | string | optional | |
mainText | string | optional | |
bullets | string[] | optional | |
buttons | IButton[] | optional | |
customStyle | ICustomStyle | optional |
PropsType
ICustomStyle
props | type | desc | |
---|---|---|---|
fontColor | string | optional | |
fontSize | string | optional | |
backgroundColor | string | optional | |
borderRadius | string | optional | |
padding | string | optional | |
minHeight | string | optional |
IImage
props | type | desc | |
---|---|---|---|
sourceUrl | string | required | |
altText | string | required | |
url | string | optional | |
ratio | string | optional | default = 2:1 |
caption | string | optional | |
videoThumbnail | boolean | optional | default = false |
IButton
props | type | desc | |
---|---|---|---|
label | string | required | |
type | string | required |
ICategory
props | type | desc | |
---|---|---|---|
icon | string | optional | |
name | string | optional | |
tags | ITag[] | optional |
ITag
props | type | desc | |
---|---|---|---|
text | string | optional | |
type | string | optional | default = hash |
License
Airs Company
0.0.29
2 years ago
0.0.28
2 years ago
0.0.27
2 years ago
0.0.24
2 years ago
0.0.23
2 years ago
0.0.22
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago