- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
export function deferAction(action) {
|
|
setTimeout(action, 1);
|
|
}
|
|
export var inlineProp = function inlineProp(name, value) {
|
|
var obj = {};
|
|
obj[name] = value;
|
|
return obj;
|
|
};
|
|
export var extractRef = function extractRef(ref) {
|
|
return ref && 'current' in ref ? ref.current : ref;
|
|
}; |