"use strict";(self.webpackChunk_pfct_purple=self.webpackChunk_pfct_purple||[]).push([[5451],{"./src/components/Control/CheckBox/index.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Story1:function(){return Story1},Story2:function(){return Story2},__namedExportsOrder:function(){return __namedExportsOrder}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/components/Control/CheckBox/index.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js");const meta={title:"Component/Control/CheckBox",component:___WEBPACK_IMPORTED_MODULE_1__.J,tags:["autodocs"],parameters:{docs:{description:{component:'updated 230523\n\n<a href="https://www.notion.so/Control-462646debf424154a108e1931f16c034?pvs=4" target="_blank">노션페이지</a>\n<br/>\n여러 옵션 중에서 하나 또는 두 개 이상의 항목을 선택하는 컨트롤입니다.'}}}};__webpack_exports__.default=meta;const Component=props=>{const[value,setValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(___WEBPACK_IMPORTED_MODULE_1__.J,{...props,onChange:checked=>{setValue(checked)},checked:value})})},Story1={render:props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Component,{...props}),args:{colorType:"blue",type:"line"},argTypes:{onChange:{action:"onChange"}},storyName:"체크박스_라인"},Story2={render:props=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Component,{...props}),args:{colorType:"blue",type:"fill"},argTypes:{onChange:{action:"onChange"}},storyName:"체크박스_필"};Story1.parameters={...Story1.parameters,docs:{...Story1.parameters?.docs,source:{originalSource:"{\n  render: props => <Component {...props} />,\n  args: {\n    colorType: 'blue',\n    type: 'line'\n  },\n  argTypes: {\n    onChange: {\n      action: 'onChange'\n    }\n  }\n}",...Story1.parameters?.docs?.source}}},Story2.parameters={...Story2.parameters,docs:{...Story2.parameters?.docs,source:{originalSource:"{\n  render: props => <Component {...props} />,\n  args: {\n    colorType: 'blue',\n    type: 'fill'\n  },\n  argTypes: {\n    onChange: {\n      action: 'onChange'\n    }\n  }\n}",...Story2.parameters?.docs?.source}}};const __namedExportsOrder=["Story1","Story2"]}}]);