1.2.9 • Published 2 years ago
@darshanpatel2608/human-body-react v1.2.9
@darshanpatel2608/human-body-react
Build one Human Body figure inyour web Page using React. Show the parts you want and click on them to select it.
Props
Parts Params
Body Parts
How to use it
const exampleParams = {
head: { selected: true },
left_arm: { show: false }
}
export const App: VFC = () => {
const [params, setParams] = useState<any>()
return (<div>
<BodyComponent partsInput={params} />
)}
</div>
)
}