Skip to content

Commit 9d8106b

Browse files
committed
Update YamlViewButtonWithLoader.tsx
1 parent 5eebe57 commit 9d8106b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Yaml/YamlViewButtonWithLoader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import styles from './YamlViewer.module.css';
66
import { YamlIcon } from './YamlIcon.tsx';
77
import { YamlViewDialog } from './YamlViewDialog.tsx';
88

9-
export interface YamlViewButtonProps {
9+
export type YamlViewButtonProps = {
1010
workspaceName?: string;
1111
resourceType: 'projects' | 'workspaces' | 'managedcontrolplanes';
1212
resourceName: string;
13-
}
13+
};
1414

1515
export const YamlViewButtonWithLoader: FC<YamlViewButtonProps> = ({ workspaceName, resourceType, resourceName }) => {
1616
const [showOnlyImportantData, setShowOnlyImportantData] = useState(true);

0 commit comments

Comments
 (0)