UNPKG

@ta-interaktiv/react-annotated-content

Version:

Component to render annotations above other content

20 lines (13 loc) 430 B
# `@ta-interaktiv/react-annotated-content` Component to render annotations above other content ## Usage ``` import { } from '@ta-interaktiv/react-annotated-content' export const parentComponent = () => { return <> <ContentWidth>I am as wide as the widest element on the page</ContentWidth> <TextWidth>I am as wide as text</TextWidth> <TextWidthExtended>I am a bit wider than the text</TextWidthExtended> </> } ```