documentation-site/components/yard/types.ts (15 lines of code) (raw):

/* Copyright (c) Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ import type { TImportsConfig, TProp } from "react-view"; export type TConfig = { componentName: string; // eslint-disable-next-line @typescript-eslint/no-explicit-any scope: { [key: string]: any }; props: { [key: string]: TProp }; theme: string[]; imports: TImportsConfig; }; export type TYardProps = TConfig & { componentName: string; placeholderHeight: number; queryStringName?: string; // eslint-disable-next-line @typescript-eslint/no-explicit-any compilerStyles: { [key: string]: any }; initialTab?: string; };