mirror of
https://github.com/SomboChea/ui
synced 2024-06-02 01:25:05 +07:00
29 lines
626 B
TypeScript
29 lines
626 B
TypeScript
|
import { PackageMetaInterface } from '../../../types/packageMeta';
|
||
|
|
||
|
export interface DetailContextProps {
|
||
|
packageMeta: PackageMetaInterface;
|
||
|
readMe: string;
|
||
|
packageName: string;
|
||
|
enableLoading: () => void;
|
||
|
}
|
||
|
|
||
|
export interface VersionPageConsumerProps {
|
||
|
packageMeta: PackageMetaInterface;
|
||
|
readMe: string;
|
||
|
packageName: string;
|
||
|
// FIXME: looking for the appropiated type here
|
||
|
enableLoading: any;
|
||
|
}
|
||
|
|
||
|
export interface PropsInterface {
|
||
|
match: boolean;
|
||
|
}
|
||
|
|
||
|
export interface StateInterface {
|
||
|
readMe: string;
|
||
|
packageName: string;
|
||
|
packageMeta?: PackageMetaInterface;
|
||
|
isLoading: boolean;
|
||
|
notFound: boolean;
|
||
|
}
|