@coko/client
Version:
Client side common code for coko apps
14 lines (13 loc) • 469 B
TypeScript
import React from 'react';
type Position = 'block-start' | 'block-end' | 'inline-start' | 'inline-end';
type Alignment = 'start' | 'end';
type PopupProps = {
alignment?: Alignment;
children?: React.ReactNode;
focusableContent?: string[];
id?: string;
toggle: React.ReactElement;
position?: Position;
};
declare const Popup: ({ alignment, children, focusableContent, id, toggle, position, }: PopupProps) => React.ReactNode;
export default Popup;