UNPKG

welcome-ui

Version:

Customizable design system with react, typescript, tailwindcss and ariakit.

12 lines (11 loc) 486 B
import { DialogOptions } from '@ariakit/react'; import { ComponentProps } from 'react'; import { MergeProps } from '../../../utils'; export interface AssetWithTitleOptions { children: React.ReactNode; customContent?: JSX.Element | string; subtitle?: JSX.Element | string; title?: JSX.Element | string; } export type AssetWithTitleProps = MergeProps<AssetWithTitleOptions, ComponentProps<'div'>>; export type BackdropProps = Pick<DialogOptions, 'hideOnInteractOutside'>;