@fluentui/react-northstar
Version:
A themable React component library.
22 lines (21 loc) • 673 B
TypeScript
import { ICSSInJSStyle } from '@fluentui/styles';
import * as PopperJs from '@popperjs/core';
declare type GetContainerStylesOptions = {
padding: string;
placement: PopperJs.BasePlacement;
};
declare type GetPointerStylesOptions = {
backgroundColor: string;
borderColor: string;
borderSize: string;
gap: string;
padding: string;
height: string;
width: string;
placement: PopperJs.BasePlacement;
rtl: boolean;
svg?: string;
};
export declare const getContainerStyles: (options: GetContainerStylesOptions) => ICSSInJSStyle;
export declare const getPointerStyles: (options: GetPointerStylesOptions) => ICSSInJSStyle;
export {};