import { IComponentAs, IStyleFunctionOrObject } from 'office-ui-fabric-react/lib/Utilities'; import { IButtonProps } from 'office-ui-fabric-react/lib/Button'; import { ITheme } from 'office-ui-fabric-react/lib/Styling'; export interface ICodepenProps { /** JS string to be passed into Codepen */ jsContent: string | (() => string); /** Optional button type */ buttonAs?: IComponentAs; /** Theme provided by higher-order component. */ theme?: ITheme; /** Optional override styles */ styles?: IStyleFunctionOrObject; } export declare type ICodepenStyleProps = Pick; export interface ICodepenStyles { subComponentStyles: ICodepenSubComponentStyles; } export interface ICodepenSubComponentStyles { button: IStyleFunctionOrObject; }