New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

latex-inputter

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

latex-inputter

tmax RG latex inputter

latest
npmnpm
Version
1.1.20
Version published
Maintainers
1
Created
Source

latex-inputter

Tmax RG 본부에서 사용하는 수식입력기입니다.

How to Use

  • npm i latex-inputter

  • import { LatexInputter } from "latex-inputter"

  • <LatexInputter /> 컴포넌트는 해당 props를 받습니다.

    • value: string : 본문
    • onChange: (latex: string) => void : 본문의 setter
    • CloseButton?: React.FunctionComponent : 우측 상단 CloseButton Icon
    • onClickClose?: Function : CloseButton 클릭 시 Function
    • onClickOk?: Function : '본문에 넣기' 버튼 클릭 시 추가 Function
    • startPosition?: number : 본문의 start focusIndex
    • endPosition?: number : 본문의 end focusIndex
  • example

<LatexInputter
  value={text}
  onChange={(latex: string) => setText(latex)}
  startPosition={startPosition}
  endPosition={endPosition}
  onClickOk={() => setLatexInputter(false)}
  onClickClose={() => setLatexInputter(false)}
  CloseButton={CloseIcon}
/>

FAQs

Package last updated on 12 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts