styled-components
Version:
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress
11 lines (10 loc) • 329 B
TypeScript
import { Middleware } from 'stylis';
import { Stringifier } from '../types';
export type ICreateStylisInstance = {
options?: {
namespace?: string;
prefix?: boolean;
};
plugins?: Middleware[];
};
export default function createStylisInstance({ options, plugins, }?: ICreateStylisInstance): Stringifier;