Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101822505
RsgComponent.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 14, 02:04
Size
1 KB
Mime Type
text/x-java
Expires
Sun, Feb 16, 02:04 (2 d)
Engine
blob
Format
Raw Data
Handle
24237623
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
RsgComponent.d.ts
View Options
import { MethodDescriptor, PropDescriptor, TagProps } from 'react-docgen';
import { RequireItResult } from './RsgRequireItResult';
import { Example } from './RsgExample';
export declare type ExpandMode = 'expand' | 'collapse' | 'hide';
export interface BaseComponent {
hasExamples?: boolean;
name?: string;
slug?: string;
href?: string;
filepath?: string;
pathLine?: string;
description?: string;
exampleMode?: ExpandMode;
usageMode?: ExpandMode;
}
export interface Component extends BaseComponent {
visibleName?: string;
props?: {
displayName?: string;
visibleName?: string;
description?: string;
methods?: MethodDescriptor[];
props?: PropDescriptor[];
tags?: TagProps;
example?: Example[];
examples?: Example[];
};
module?: number;
metadata?: {
tags?: string[];
};
}
export interface LoaderComponent extends BaseComponent {
module: RequireItResult;
props: RequireItResult;
metadata: RequireItResult | Record<string, unknown>;
}
Event Timeline
Log In to Comment