Skip to content

Files

Latest commit

 

History

History
19 lines (13 loc) · 915 Bytes

DraggableHint.md

File metadata and controls

19 lines (13 loc) · 915 Bytes

DraggableHint

import { DraggableHint } from '@threekit-tools/treble';
<DraggableHint color={"#aa42f5"} duration={2} timeout={100} />

Overview

The <DraggableHint/> component will place a hand icon over the Threekit Player that indicates the visual is interactive.

Props

Property Description Type Default
color Color applied to the background of the icon. Uses colors comptabible with CSS . String #78c4a299
duration Duration of time the animation will run before it resets (seconds). Number 2.5
timeout Time to wait before animation begins (ms?). Number -