UNPKG

@storybook/addon-links

Version:

Link stories together to build demos and prototypes with your UI components

20 lines (19 loc) 490 B
import { PureComponent, ReactNode } from 'react'; interface Props { kind: string; story: string; children: ReactNode; } interface State { href: string; } export default class LinkTo extends PureComponent<Props, State> { static defaultProps: Props; state: State; componentDidMount(): void; componentDidUpdate(prevProps: Props): void; updateHref: () => Promise<void>; handleClick: () => void; render(): JSX.Element; } export {};