UNPKG

glodrei

Version:

useful add-ons for react-three-fiber

14 lines (13 loc) 482 B
import { Mesh, Color } from 'three'; import type { PlaneGeometry, MeshBasicMaterial } from 'three'; import { ForwardRefComponent } from '../helpers/ts-utils'; type Props = JSX.IntrinsicElements['mesh'] & { colorStop?: number; fog?: boolean; color?: Color | number | string; opacity?: number; depthWrite?: boolean; }; export type ShadowType = Mesh<PlaneGeometry, MeshBasicMaterial>; export declare const Shadow: ForwardRefComponent<Props, ShadowType>; export {};