UNPKG

@assistant-ui/react

Version:

React components for AI chat.

1 lines 750 B
{"version":3,"sources":["../../../src/primitives/attachment/AttachmentRemove.tsx"],"sourcesContent":["\"use client\";\n\nimport { useAttachmentRemove } from \"../../primitive-hooks/attachment/useAttachmentRemove\";\nimport {\n ActionButtonElement,\n ActionButtonProps,\n createActionButton,\n} from \"../../utils/createActionButton\";\n\nexport namespace AttachmentPrimitiveRemove {\n export type Element = ActionButtonElement;\n export type Props = ActionButtonProps<typeof useAttachmentRemove>;\n}\n\nexport const AttachmentPrimitiveRemove = createActionButton(\n \"AttachmentPrimitive.Remove\",\n useAttachmentRemove,\n);\n"],"mappings":";;;AAEA,SAAS,2BAA2B;AACpC;AAAA,EAGE;AAAA,OACK;AAOA,IAAM,4BAA4B;AAAA,EACvC;AAAA,EACA;AACF;","names":[]}