nextjs-framework
  • nextjs-sj-prime-base
  • Getting Started
    • Quickstart
    • Project Structure
    • Code Convention
  • 신규 프로젝트 생성 가이드
  • 라이브러리 개발 및 배포
  • # 고고컴퍼니 어드민 개발 서버 배포
  • Port 설정 방법
  • 에러 해결 방법
  • StoryBook 설명
  • COMPONENTS/UI
    • Tooltip
    • CompactIconButton
    • IconButton
    • FormAsset
    • InputField
    • Dropzone
    • Select
    • DataTable
    • TableHead
    • TableHeadDropdownMenu
    • TableCell
    • TableCellSelect
    • Tag
    • Tabs
    • Chip
    • Command
    • FilterSelect
    • FilterMultiSelect
    • FilterDate
    • DatePicker
    • Toast
  • Timer
  • Components/layout
    • page-header
    • info-card
    • search-filter
    • table-header
    • form
  • Custom Hook
    • use-form
  • use-form-file
  • use-timer
  • Util
    • validation
    • middleware.ts
  • Components/미사용
    • input-box
    • single-select
    • multi-select
    • range-date-picker
    • radio-button-group
    • checkbox-group
    • list-table
    • pagination
    • toggle
Powered by GitBook
On this page
  • 1. FormAssetHelperMessage
  • Props
  • Usage
  • 2. FormAssetLabel
  • Props
  • Usage
  1. COMPONENTS/UI

FormAsset

PreviousIconButtonNextInputField

Last updated 1 month ago

1. FormAssetHelperMessage

Props

Prop
Type
Default
Description

variant

'default' | 'error' | 'success'

'default'

타입

size

'small' | 'medium'

'small'

사이즈

text

string

-

메세지 내용

Usage

<FormAssetHelperMessage
  variant={'error'}
  size={'medium'}
  text={'보조 메시지 영역'}
/>

2. FormAssetLabel

Props

Prop
Type
Default
Description

size

'default' | 'small'

'default'

사이즈

label

string

-

라벨 텍스트

required

boolean

false

필수값 여부 (true일 경우 badge 표시)

disabled

boolean

false

비활성화 여부

Usage

<FormAssetLabel
  size={'small'}
  label={'라벨'}
  required
</>