src/index.js
function defaultTheme(theme) {
  if (theme == null) return Form.defaultProps.theme
  if (typeof theme !== 'object') {
    throw new Error('Invalid Frig theme. Expected an object')
  }
  Form.defaultProps.theme = theme
  UnboundInput.defaultProps.theme = theme
  return true
}
function defaultTheme(theme) {
  if (theme == null) return Form.defaultProps.theme
  if (typeof theme !== 'object') {
    throw new Error('Invalid Frig theme. Expected an object')
  }
  Form.defaultProps.theme = theme
  UnboundInput.defaultProps.theme = theme
  return true
}
function defaultTheme ( theme ) { if ( theme == null ) return Form . defaultProps . theme if ( typeof theme !== 'object' ) { throw new Error ( 'Invalid Frig theme. Expected an object' ) } Form . defaultProps . theme = theme UnboundInput . defaultProps . theme = theme return true }
Setter and getter for the Frig default theme
Setter and getter for the Frig default theme