import React from 'react';

import { FormGroupTitle } from '@/modules/@common/Form';
import AutomationScript from '@/modules/feeds/Editor/components/FormElements/AutomationScript/AutomationScript';
import { Link, Stack } from '@/mui/components';

function ScriptTab() {
  return (
    <>
      <FormGroupTitle>
        <Stack direction="row" spacing={1}>
          <span> Video Targeting Automation Script |</span>
          <Link
            href="https://anyclip.atlassian.net/wiki/spaces/PROD/pages/3787718738/How+to+use+the+Json+editor+in+the+Source"
            target="_blank"
            rel="noreferrer"
          >
            How-To
          </Link>
        </Stack>
      </FormGroupTitle>
      <AutomationScript />
    </>
  );
}

export default ScriptTab;
