We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48df4ec commit 45f89d3Copy full SHA for 45f89d3
src/components/HarborRepository.tsx
@@ -120,18 +120,22 @@ function HarborRepository(props: RepositoryProps) {
120
<div>
121
<Table
122
options={{ paging: false, search: false, padding: "dense" }}
123
- title="Docker Images"
+ title={props.title}
124
columns={columns}
125
data={repository}
126
/>
127
</div>
128
);
129
}
130
131
+HarborRepository.defaultProps = {
132
+ title: "Docker Images",
133
+};
134
interface RepositoryProps {
135
widget: boolean;
136
project: string;
137
repository: string;
138
+ title: string;
139
140
141
interface Repository {
0 commit comments