UNPKG

gadgets

Version:

Reusable React UI widgets - This is my widget library. There are many like it, but this one is mine...

24 lines (23 loc) 808 B
/** * Responsible for loading required global objects before all other objects * in the library. This module is imported once at the beginning of the * index.ts script at the root of the library. Anything that must be * present in the global environment before the rest of the application * is loaded must be here. * * @module globals */ import "styled-components"; import "util.obj-cycle"; import "util.string"; import { BaseThemeProps } from "./shared/themes"; /** * Adds the custom theme properties to the default theme interface * within styled components. This makes all of the properties * available by default. This replaces the old method in the obsolete * themed-components module. */ declare module "styled-components" { interface DefaultTheme extends BaseThemeProps { } }