import { useMessage } from '@/hooks/useMessage'
import WithDraggable from '@/components/common/draggable/WithDraggable'

export default function AuxiliarySize({ setCurrentContextMenu }) {
  const { getMessage } = useMessage()
  return (
    <WithDraggable isShow={true} pos={{ x: 0, y: 150 }}>
      <div className={`modal-pop-wrap xm`}>
        <div className="modal-head">
          <h1 className="title">補助線サイズ変更 </h1>
          <button className="modal-close" onClick={() => setCurrentContextMenu(null)}>
            닫기
          </button>
        </div>
        <div className="modal-body">
          <div className="discrimination-box mb10">
            <div className="d-check-radio pop mb10">
              <input type="radio" name="radio01" id="ra01" />
              <label htmlFor="ra01">1支店</label>
            </div>
            <div className="outline-form mb15">
              <div className="input-grid mr5" style={{ flex: '1 1 auto' }}>
                <input type="text" className="input-origin block" defaultValue={100} />
              </div>
              <span className="thin">mm</span>
            </div>
            <div className="outline-form">
              <span style={{ width: 'auto' }}>長さ</span>
              <div className="input-grid mr5">
                <input type="text" className="input-origin block" defaultValue={100} />
              </div>
              <span className="thin">mm</span>
            </div>
          </div>
          <div className="discrimination-box ">
            <div className="d-check-radio pop mb10">
              <input type="radio" name="radio01" id="ra02" />
              <label htmlFor="ra02">2支店</label>
            </div>
            <div className="outline-form mb15">
              <div className="input-grid mr5" style={{ flex: '1 1 auto' }}>
                <input type="text" className="input-origin block" defaultValue={100} />
              </div>
              <span className="thin">mm</span>
            </div>
            <div className="outline-form">
              <span style={{ width: 'auto' }}>長さ</span>
              <div className="input-grid mr5">
                <input type="text" className="input-origin block" defaultValue={100} />
              </div>
              <span className="thin">mm</span>
            </div>
          </div>
          <div className="grid-btn-wrap">
            <button className="btn-frame modal act">保存</button>
          </div>
        </div>
      </div>
    </WithDraggable>
  )
}
