rofrischmann/fela

View on GitHub
packages/fela-bindings/src/resolvePassThrough.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function resolvePassThrough(passThrough, ruleProps) {
  if (typeof passThrough === 'function') {
    return passThrough(ruleProps)
  }

  return passThrough
}