Skip to content

A theme for get started with OctoberCMS and React.js (Paused).

License

Notifications You must be signed in to change notification settings

rich-97/react-theme-octcms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OctoberCMS + React.js

This is a repository with the minimal configuration and with some utils components to get started with OctoberCMS and React.js.

Components documentation

ListPosts

Source: src/components/containers/ListPosts.js

Properties:

  • item {Component} - the item component that represent each post.

Usage:

You can use this component with a custom item or li, per example:

const Item = (props) => (
  <li>{props.post.title}</li>
)

In the Item component you can get all the data of the post through the props.post.

ReactDOM.render(
  <ListPosts item={Item} />,
  document.getElementById('root')
)

About

A theme for get started with OctoberCMS and React.js (Paused).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published