Actions
API Reference
Action
Example
import { ActionPanel, Action, List } from "@raycast/api";
export default function Command() {
return (
<List navigationTitle="Open Pull Requests">
<List.Item
title="Docs: Update API Reference"
subtitle="#1"
actions={
<ActionPanel title="#1 in raycast/extensions">
<Action.OpenInBrowser url="https://github.com/raycast/extensions/pull/1" />
<Action.CopyToClipboard title="Copy Pull Request Number" content="#1" />
<Action title="Close Pull Request" onAction={() => console.log("Close PR #1")} />
</ActionPanel>
}
/>
</List>
);
}Props
Prop
Description
Type
Default
Action.CopyToClipboard
Example
Props
Prop
Description
Type
Default
Action.Open
Example
Props
Prop
Description
Type
Default
Action.OpenInBrowser
Example
Props
Prop
Description
Type
Default
Action.OpenWith
Example
Props
Prop
Description
Type
Default
Action.Paste
Example
Props
Prop
Description
Type
Default
Action.Push
Example
Props
Prop
Description
Type
Default
Action.ShowInFinder
Example
Props
Prop
Description
Type
Default
Action.SubmitForm
Example
Props
Prop
Description
Type
Default
Action.Trash
Example
Props
Prop
Description
Type
Default
Action.CreateSnippet
Example
Props
Prop
Description
Type
Default
Action.CreateQuicklink
Example
Props
Prop
Description
Type
Default
Action.ToggleQuickLook
Example
Props
Prop
Description
Type
Default
Action.PickDate
Example
Props
Prop
Description
Type
Default
Types
Snippet
Properties
Property
Description
Type
Quicklink
Properties
Property
Description
Type
Action.Style
Action.PickDate.Type
Enumeration members
Name
Description
Action.PickDate.isFullDay
Last updated

