UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

9 lines (8 loc) 468 B
import type { ComponentProps, PropsWithChildren } from 'react'; import React from 'react'; export type SwitchFieldProps = PropsWithChildren<ComponentProps<'input'>>; export declare const SwitchField: ({ children, ...props }: SwitchFieldProps) => React.JSX.Element; export type SimpleSwitchFieldProps = ComponentProps<'input'> & { labelText: string; }; export declare const SimpleSwitchField: ({ labelText, ...props }: SimpleSwitchFieldProps) => React.JSX.Element;