Skip to content

koreanbots/yup-locales-ko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yup korean locale

NPM

Meet the yup module in Korean using yup.setLocale().

Install

npm i yup-locales-ko

Usage

import yup from 'yup'
import yupLocalesKo from 'yup-locales-ko'

yup.setLocale(yupLocalesKo)

const schema = yup.object().shape({
  name: yup.string(),
  age: yup.number().min(18)
})