import { useCurrentStateAndParams } from '@uirouter/react'; import { Plus } from 'lucide-react'; import { AutomationTestingProps } from '@/types'; import { MenuButton, MenuButtonLink } from '@@/buttons/MenuButton'; import { Icon } from '@@/Icon'; export function CreateFromManifestButton({ params = {}, 'data-cy': dataCy, }: { params?: object } & AutomationTestingProps) { const { state } = useCurrentStateAndParams(); return ( Manifest , Helm chart , ]} data-cy={dataCy} > Create from code ); }