Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104931097
createStyleSheet.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Mar 13, 11:16
Size
741 B
Mime Type
text/x-java
Expires
Sat, Mar 15, 11:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24882733
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
createStyleSheet.d.ts
View Options
/// <reference types="lodash" />
import { Styles, StyleSheet } from 'jss';
import * as Rsg from '../../typings';
/**
* By default lodash/memoize only uses the first argument
* for cache rendering. It works well if the first prameter
* is enough.
* We are Hot Module Replacing (HMR) stylesheets.
* Therefore, we cannot cache stylesheet only by component.
* We need to add cssRevisions to the key fo when the css files update,
* the revision will update and we should update the stylesheet.
*/
declare const _default: ((styles: (t: Rsg.Theme) => Styles<string>, config: Rsg.ProcessedStyleguidistCSSConfig, componentName: string, cssRevision: string) => StyleSheet<string>) & import("lodash").MemoizedFunction;
export default _default;
Event Timeline
Log In to Comment