UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

9 lines 371 B
export const getStyleOverrides = (componentName, styleOverrideProp, theme, ownerState) => { const component = theme.components?.[componentName]; const property = component?.styleOverrides?.[styleOverrideProp]; if (typeof property === 'function') { return property({ theme, ownerState }); } return property; }; //# sourceMappingURL=utils.js.map