mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
944 B
944 B
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "stylesFactory" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++
stylesFactory() function
stylesFactory() function
Creates memoized version of styles creator
Signature
export declare function stylesFactory<ResultFn extends (this: any, ...newArgs: any[]) => ReturnType<ResultFn>>(stylesCreator: ResultFn): ResultFn;
Import
import { stylesFactory } from '@grafana/ui';
Parameters
Parameter | Type | Description |
---|---|---|
stylesCreator | ResultFn |
function accepting dependencies based on which styles are created |
Returns:
ResultFn