How to use refire-app - 10 common examples

To help you get started, we’ve selected a few refire-app examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hoppula / refire-forum / src / App / App.js View on Github external
}

const css = {
  // register global styles
  ":global": globalStyles,
  app: {
    maxWidth: "980px",
    margin: "0 auto",
    padding: "0 20px",
  },
  body: {
    paddingTop: "60px",
  },
}

export default styles(
  css,
  App
)
github hoppula / refire-forum / src / Board / Thread.js View on Github external
textAlign: "right",
    verticalAlign: "middle",
  },
  commentsCount: {
    display: "inline-block",
    margin: "0 5px 0 0",
  },
  lastPost: {
    display: "inline-block",
    minWidth: "70px",
    textAlign: "center",
    verticalAlign: "middle",
  },
}

export default styles(css, Thread)
github hoppula / refire-forum / src / Thread / Thread.js View on Github external
lockContainer: {
    display: "inline-block",
    verticalAlign: "top",
    paddingTop: "4px",
    paddingRight: "5px",
  },
  paginationContainer: {
    position: "relative",
    minHeight: "32px",
  },
  buttonsContainer: {
    display: "inline-block",
  },
}

export default styles(css, Thread)
github hoppula / refire-forum / src / Thread / DeletePostDialog.js View on Github external
save={save}
      saveText="Delete"
      width="small"
      styles={styles}
    >
      Do you really want to delete this post?
    
  )
}

const css = {
  container: {},
  modal: {},
}

export default styles(css, DeletePostDialog)
github hoppula / refire-forum / src / App / AuthenticationButton.js View on Github external
} else {
    return (
      
        <button>Login with Google</button>
      
    )
  }
}

const css = {
  button: {

  },
}

export default styles(css, AuthenticationButton)
github hoppula / refire-forum / src / Thread / DeletePostButton.js View on Github external
return <span>
  }
}

const css = {
  button: {
    cursor: "pointer",
    verticalAlign: "top",
    display: "inline-block",
    paddingRight: "20px",
    verticalAlign: "top",
    color: "#955",
  },
}

export default styles(css, DeletePostButton)
</span>
github hoppula / refire-forum / src / Board / ShowPagination.js View on Github external
className={styles.pagination}
      /&gt;
    )
  } else {
    return <div>
  }
}

const css = {
  pagination: {
    display: "block",
    margin: "10px 0 0 0",
  },
}

export default styles(css, ShowPagination)
</div>
github hoppula / refire-forum / src / Board / NewThreadButton.js View on Github external
)
  } else {
    return <span>
  }
}

const css = {
  button: {
    width: "100%",
    "@media (min-width: 480px)": {
      width: "auto",
    },
  },
}

export default styles(css, NewThreadButton)
</span>
github hoppula / refire-forum / src / Thread / PostBody.js View on Github external
}
          }
        /&gt;
      
    )
  }
}

const css = {
  bodyContainer: {
    margin: "0 0 10px 0",
  },

}

export default styles(css, PostBody)
github hoppula / refire-forum / src / Board / SettingsButton.js View on Github external
} else {
    return <span>
  }
}

const css = {
  button: {
    width: "100%",
    "@media (min-width: 480px)": {
      width: "auto",
      marginRight: "10px",
    },
  },
}

export default styles(css, SettingsButton)
</span>

refire-app

Opinionated wrapper for quick prototyping with React, Redux and Firebase

MIT
Latest version published 7 years ago

Package Health Score

36 / 100
Full package analysis

Popular refire-app functions

Similar packages