
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@lunit/use-opt-control
Advanced tools
`<CornerstoneViewer>`에서 사용되는 `control={}`, `flip={}`, `invert={}` 상태를 관리하는데 사용된다.
@lunit/use-opt-control<CornerstoneViewer>에서 사용되는 control={}, flip={}, invert={} 상태를 관리하는데 사용된다.
간단하게 사용하기 위해서 만들 Util이고, 필요한 경우 아래와 같이 사용해도 된다.
import { Control } from '@lunit/use-opt-control';
function Component() {
const [control, setControl] = useState<Control>('pen');
const [flip, setFlip] = useState<boolean>(false);
const [invert, setInvert] = useState<boolean>(false);
return <div>...</div>;
}
http://frontend-components-handbook.netlify.com/#/use-opt-control
npm install @lunit/use-opt-control
FAQs
Tool control hook
The npm package @lunit/use-opt-control receives a total of 30 weekly downloads. As such, @lunit/use-opt-control popularity was classified as not popular.
We found that @lunit/use-opt-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.