Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to use decorations #59

Open
spliner21 opened this issue Sep 23, 2022 · 1 comment
Open

Question: How to use decorations #59

spliner21 opened this issue Sep 23, 2022 · 1 comment

Comments

@spliner21
Copy link

Hi,

I am trying to use the decorations, but trying to understand it just from source code is a little painful. Storybook documentation is not helping, because it seems to be just a draft of target doc.
(https://ibm.github.io/gantt-chart/packages/ibm-gantt-chart-docs/storybook/?path=/story/guides-time-line--decorations-break)

I would like to know where decorations (breaks to be precise) should be defined and what is the syntax.

@spliner21 spliner21 changed the title [Question] How to use decorations Question: How to use decorations Sep 23, 2022
@spliner21
Copy link
Author

Actually, after some trying I have found the way to do it.
This example is quite helpful:
https://ibm.github.io/gantt-chart/packages/ibm-gantt-chart-docs/storybook/?path=/story/storybook-examples--nurses

But I've also found a bug in plugin source code - here is a fix that I've made locally, and probably should be done in here too:
obraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant