Migrate Linkify to Storybook
This commit is contained in:
parent
d27a15a3eb
commit
15e817c3e2
3 changed files with 70 additions and 45 deletions
|
@ -7,7 +7,7 @@ import { isLinkSneaky } from '../../../js/modules/link_previews';
|
|||
|
||||
const linkify = LinkifyIt();
|
||||
|
||||
interface Props {
|
||||
export interface Props {
|
||||
text: string;
|
||||
/** Allows you to customize now non-links are rendered. Simplest is just a <span>. */
|
||||
renderNonLink?: RenderTextCallbackType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue