Skip to content

Commit

Permalink
Remove coms
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas committed Aug 16, 2024
1 parent f9267b1 commit 8546fc2
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,29 +591,6 @@ const defaultGetComponentImports = (name: string, filename: string) => {
return [subpathImport, rootImport];
};

// export interface IN {
// name: string;
// required: boolean;
// type: PropItemType;
// description: string;
// defaultValue: any;
// parent?: ParentType;
// declarations?: ParentType[];
// tags?: {};
// }

// export interface OUT {
// defaultValue?: { computed: boolean; value: string };
// // augmented by docs/src/modules/utils/defaultPropsHandler.js
// jsdocDefaultValue?: { computed?: boolean; value: string };
// description?: string;
// required?: boolean;
// /**
// * react-docgen has this as nullable but it was never treated as such
// */
// type: PropTypeDescriptor;
// }

const componentDocToComponentApi = (componentDoc?: ComponentDoc): ComponentReactApi => {
if (!componentDoc) {
return {} as ComponentReactApi;
Expand Down

0 comments on commit 8546fc2

Please sign in to comment.