Skip to content

Commit

Permalink
jquense#1649 - Adds Resource Scheduling example description
Browse files Browse the repository at this point in the history
  • Loading branch information
basstager committed May 22, 2023
1 parent 11c4d27 commit 0918bb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stories/demos/exampleCode/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ export default function Resource({ localizer }) {
return (
<Fragment>
<DemoLink fileName="resource" />
<strong>
The calendar below uses the <LinkTo kind="props" story="resource-id-accessor">resourceIdAccessor</LinkTo>,
<LinkTo kind="props" story="resource-title-accessor">resourceTitleAccessor</LinkTo> and
<LinkTo kind="props" story="resources">resources</LinkTo> props to show events scheduled for different resources.
<br/>
Events can be mapped so a single resource, or multiple resources.
</strong>
<div className="height600">
<Calendar
defaultDate={defaultDate}
Expand Down

0 comments on commit 0918bb9

Please sign in to comment.