toast/toast.types.ts

heroui-native · src/components/toast/toast.types.ts · typescript · Apache-2.0
ui

Provides type definitions for a Toast component, enabling developers to implement customizable, animated notification overlays in React Native.

// Source: https://github.com/heroui-inc/heroui-native | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { ViewProps } from 'react-native';
import type { ViewRef } from '../../helpers/internal/types';
import type * as ToastPrimitive from '../../primitives/toast';
import type {
  ToastComponentProps,
  ToastShowOptions,
} from '../../providers/toast/types';
import type {
  ButtonRootProps,
  ButtonRootPropsScaleHighlight,
} from '../button/button.types';
import type { ToastBaseConfig, ToastVariant } from './toast.base-types';

export type * from './toast.base-types';

/**
 * Props for the Toast.Background sub-component.
 * Generic absolute-fill container behind the toast 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key