npm install @hua-labs/hua
import { useDotMap } from "@hua-labs/hua/framework";
@hua-labs/motion-core의 모션 훅을 @hua-labs/hua/framework에서 통합 제공합니다.
UI 컴포넌트, 모션 훅, i18n을 하나의 패키지로 사용할 수 있습니다.
import { useDotMap } from '@hua-labs/ui'; const { style, handlers } = useDotMap('p.4 bg.blue-500 hover:bg.blue-600', { disabled: false, }); return <div style={style} {...handlers}>Interactive element</div>;