react-peeps
Version:
React implementation of the hand drawn illustration library called Open Peeps
37 lines (36 loc) • 1.51 kB
TypeScript
import React, { CSSProperties } from 'react';
import { GradientType } from './types';
export { BustPose, BustPoseType } from './pose/bust/z_options';
export { SittingPose, SittingPoseType } from './pose/sitting/z_options';
export { StandingPose, StandingPoseType } from './pose/standing/z_options';
export { Hair, HairType } from './hair/z_options';
export { Accessories, AccessoryType } from './accessories/z_options';
export { Face, FaceType } from './face/z_options';
export { FacialHair, FacialHairType } from './facialHair/z_options';
import { HairType } from './hair/z_options';
import { AccessoryType } from './accessories/z_options';
import { FaceType } from './face/z_options';
import { FacialHairType } from './facialHair/z_options';
import { StandingPoseType } from './pose/standing/z_options';
import { SittingPoseType } from './pose/sitting/z_options';
import { BustPoseType } from './pose/bust/z_options';
interface PeepProps {
style?: CSSProperties;
accessory?: AccessoryType;
body?: BustPoseType | SittingPoseType | StandingPoseType;
face?: FaceType;
facialHair?: FacialHairType;
hair?: HairType;
viewBox?: {
x: string;
y: string;
width: string;
height: string;
};
circleStyle?: CSSProperties;
strokeColor?: string | GradientType;
backgroundColor?: string | GradientType;
wrapperBackground?: string | GradientType;
}
declare const Peep: React.FC<PeepProps>;
export default Peep;