Storybook: Link
# install
# yarn
# start storybook
yarn storybook
# build components
yarn build
Bump version in package.json
and create a new release. This will start a github action to publish the package to the github package repository.
Pushing to main
will update the storybook available under github page.
Example for navbar:
import { C3NavigationElementProps } from "@camunda-cloud/camunda-composite-components"
// ...
return (
<C3Navigation
app={{
ariaLabel: "Camunda Console",
name: "Console",
prefix: "Camunda",
routeProps: { route: routes.home, router: router },
}}
// ...
/>
)