extract-react-types icon indicating copy to clipboard operation
extract-react-types copied to clipboard

Feat: Add ability to hide props from the docs

Open pgmanutd opened this issue 4 years ago • 1 comments

Right now there is no official way to hide props from the docs. Probably we can use something like @internal or @private to hide them.

export interface Props {
  /** Some description */
  id?: string;
  /**
   * @internal
   * Some description
   */
  privateId?: string
}

pgmanutd avatar Feb 23 '21 06:02 pgmanutd

Reminds me of: http://sassdoc.com/annotations/#access

jenniesyip avatar Feb 23 '21 17:02 jenniesyip