import { useCurrentStateAndParams } from '@uirouter/react'; import { AutomationTestingProps } from '@/types'; import { AddButton } from '@@/buttons'; export function CreateFromManifestButton({ params = {}, 'data-cy': dataCy, }: { params?: object } & AutomationTestingProps) { const { state } = useCurrentStateAndParams(); return ( Create from manifest ); }