In the example above, a component is defined for rendering homepages, i.e. instances of the “Homepage” class. The actual page instance is passed in as the
page prop. The component simply renders the
title attribute of the homepage, without making it editable in-place (see below for examples in which in-place editing is enabled).