import React from 'react'; import { HighlightedText } from 'reablocks'; export default { title: 'Components/Data/HighlightedText', component: HighlightedText }; export const Basic = () => ( facebook ); export const MultipleMatches = () => ( banana and mango ); export const CaseInsensitive = () => ( GitHub ); export const SpecialCharacters = () => ( Reablocks (beta) release ); export const NoMatch = () => ( facebook ); export const EmptySearch = () => facebook; export const NumericChildren = () => ( {12345} ); export const NonTextChildren = () => ( rich content renders unchanged );