diff --git a/.storybook/stories/FaceControls.stories.tsx b/.storybook/stories/FaceControls.stories.tsx new file mode 100644 index 000000000..f5ca126b6 --- /dev/null +++ b/.storybook/stories/FaceControls.stories.tsx @@ -0,0 +1,38 @@ +import * as THREE from 'three' +import * as React from 'react' +import { withKnobs, number } from '@storybook/addon-knobs' +import { Vector3 } from 'three' + +import { Setup } from '../Setup' + +import { FaceLandmarker, FaceControls, Box } from '../../src' + +export default { + title: 'Controls/FaceControls', + component: FaceControls, + decorators: [withKnobs, (storyFn) => {storyFn()}], +} + +export const FaceControlsSt = ({ eyes }) => ( + <> + + + + + + + + + + + +) +FaceControlsSt.args = { + eyes: undefined, +} + +FaceControlsSt.argTypes = { + eyes: { control: { type: 'boolean' } }, +} + +FaceControlsSt.storyName = 'Default' diff --git a/README.md b/README.md index 21f034da7..593e71f0f 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ The `native` route of the library **does not** export `Html` or `Loader`. The de
  • ScrollControls
  • PresentationControls
  • KeyboardControls
  • +
  • FaceControls
  • Gizmos