Design Specification Guide

Hi

I am wondering have anyone come across a good design (technical) specification guide for react components.
not the drawing design nor the user story. but more along the line like:

component foo:
purpose:
inhereirited props:
states :
functions & variables :
child components & props:
styles:
etc…

I hope I am making sense
K.

I doubt you’ll find something general like that, because what you’re asking for is architectural design. So it’d be specific to the project.