import dedent from 'ts-dedent'
import HighlightedCodeBlock, {
HighlightedCodeBlockProps,
} from '~/components/HighlightedCodeBlock'
import { trpc } from '~/utils/trpc'
import { useParams, useLocation, useNavigate } from 'react-router-dom'
import Transition from '../Transition'
import { useState } from 'react'
import classNames from 'classnames'
import { useMe } from '~/components/MeContext'
import IVInputField from '~/components/IVInputField'
import IVSelect from '~/components/IVSelect'
import { examples } from '~/utils/examples'
import IconCode from '~/icons/compiled/Code'
function InstructionsContainer(props: {
show?: boolean
children: React.ReactNode
}) {
return (
{props.children}
)
}
function CompletionMessage() {
return (
That's it! Once you start your app, this message will disappear and you'll
be able to run the actions you're developing. Installation instructions
and code samples will remain available{' '}
in the docs
.
)
}
function CodeSnippet(props: { children: React.ReactNode }) {
return
Actions are created from within your codebase and
will appear here when your SDK listener comes online. To create
your first action, copy the following example code into your
project:
Tools in Interval are called{' '}
actions
{' '}
and created using the Interval SDK. Follow the steps below to install
the SDK in your existing project and start building actions.