UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

11 lines (8 loc) 446 B
"use strict"; "use client"; import { DownloadTrigger as DownloadTrigger$1 } from '@ark-ui/react/download-trigger'; export { useDownload } from '@ark-ui/react/download-trigger'; import { createRecipeContext } from '../../styled-system/create-recipe-context.js'; const { withContext } = createRecipeContext({ key: "downloadTrigger" }); const DownloadTrigger = withContext(DownloadTrigger$1, { forwardAsChild: true }); export { DownloadTrigger };