Ginger Book User guide
Links
You can link story from another story:
import * as React from "react";
import { linkTo } from "@ginger-society/ginger-book";
import type { Story } from "@ginger-society/ginger-book";
export const Link: Story = () => {
return <button onClick={linkTo("controls--first")}>Controls</button>;
};
The id used controls--first
is what you find in the URL as the ?story=
parameter.