import { CodeBlock } from "~/components/code/CodeBlock"; import { Header2 } from "~/components/primitives/Headers"; export default function Story() { return (
Inline field
With title row
showChrome { console.log(log); }, onLogError: (log) => { console.error(log); }, onLogWarning: (log) => { console.warn(log); }, onLogInfo: (log) => { console.info(log); }, });`} />
Inline copy button { console.log(log); }, onLogError: (log) => { console.error(log); }, onLogWarning: (log) => { console.warn(log); }, onLogInfo: (log) => { console.info(log); }, });`} />
Highlighted range { console.log(log); }, onLogError: (log) => { console.error(log); }, onLogWarning: (log) => { console.warn(log); }, onLogInfo: (log) => { console.info(log); }, });`} highlightedRanges={[ [6, 8], [12, 14], ]} />
); }