examples/component: Fix missing `entry`

Closes #256.
Merge pull request #260 from stephenmathieson/fix/component-example

examples/component: Fix missing `entry`