File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
packages/patternfly-3/patternfly-react/src/common Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import { default as Timer } from './Timer' ;
3+ import { closest as closestPolyfill } from './closestPolyfill' ;
4+ import { default as controlled } from './controlled' ;
5+ import { patternfly , c3ChartDefaults , layout } from './patternfly' ;
26
37/** Equivalent to calling `this.someMethod = this.someMethod.bind(this)` for every method name in the methods array. */
48export const bindMethods = ( context , methods ) => {
@@ -90,3 +94,27 @@ export const KEYS = {
9094 HOME : 'Home' ,
9195 END : 'End'
9296} ;
97+
98+ export const helpers = {
99+ Timer,
100+ closestPolyfill,
101+ controlled,
102+ patternfly,
103+ c3ChartDefaults,
104+ layout,
105+ debounce,
106+ propExists,
107+ propOrState,
108+ selectKeys,
109+ filterKeys,
110+ excludeKeys,
111+ childrenToArray,
112+ filterChildren,
113+ findChild,
114+ propsChanged,
115+ hasDisplayName,
116+ nullValues,
117+ noop,
118+ KEY_CODES ,
119+ KEYS
120+ } ;
You can’t perform that action at this time.
0 commit comments