import fetchMock from 'fetch-mock'
import Notification from '../js/shared/components/notification'
import { postJSON } from '../js/infrastructure/fetch-json'
import useAsync from '../js/shared/hooks/use-async'
type Args = React.ComponentProps The CTA will always go below the content on small screens.
We can also opt to always put the CTA below the content on all
screens
Lorem ipsum
Dolor sit amet, consectetur adipiscing elit. Proin lacus velit,
faucibus vitae feugiat sit amet, Some link iaculis
ut mi.
Vel eros donec ac odio tempor orci dapibus ultrices in. Fermentum
iaculis eu non diam phasellus.
Aliquam at tempor risus. Vestibulum bibendum ut
Lorem ipsum
Dolor sit amet, consectetur adipiscing elit. Proin lacus velit,
faucibus vitae feugiat sit amet, Some link iaculis
ut mi.
Vel eros donec ac odio tempor orci dapibus ultrices in. Fermentum
iaculis eu non diam phasellus.
Aliquam at tempor risus. Vestibulum bibendum ut
Lorem ipsum
Dolor sit amet, consectetur adipiscing elit. Proin lacus velit,
faucibus vitae feugiat sit amet, Some link iaculis
ut mi.
Vel eros donec ac odio tempor orci dapibus ultrices in. Fermentum
iaculis eu non diam phasellus.
Aliquam at tempor risus. Vestibulum bibendum ut
Lorem ipsum
Dolor sit amet, consectetur adipiscing elit. Proin lacus velit,
faucibus vitae feugiat sit amet, Some link iaculis
ut mi.
Vel eros donec ac odio tempor orci dapibus ultrices in. Fermentum
iaculis eu non diam phasellus.
Aliquam at tempor risus. Vestibulum bibendum ut
Success! You made a successful request.
} /> ) if (isSuccess) return successNotification return startNotification } export const ContentAsAString = (args: Args) => { return
This can be any HTML passed to the component. For example,
paragraphs, headers, code samples
, links,
etc are all supported.