UNPKG

@kwiz/fluentui

Version:

KWIZ common controls for FluentUI

27 lines (26 loc) 807 B
import React from "react"; export interface iKWIZFluentContext { /** * Where the portal children are mounted on DOM * * @default a new element on document.body without any styling */ mountNode?: HTMLElement | null | { element?: HTMLElement | null; className?: string; }; /** * Controls the colors and borders of the input. * * @default 'underline' */ inputAppearance?: 'outline' | 'underline' | 'filled-darker' | 'filled-lighter'; /** * A button can be rounded, circular, or square. * * @default 'rounded' */ buttonShape?: 'rounded' | 'circular' | 'square'; } export declare const KWIZFluentContext: React.Context<iKWIZFluentContext>; export declare function useKWIZFluentContext(): iKWIZFluentContext;