UNPKG

@sanity/tsdoc

Version:

Generate API reference docs from TypeScript projects and store in a Sanity-friendly JSON format. Render a static frontend, or as React components.

9 lines (7 loc) 176 B
import {Box} from '@sanity/ui' import {memo} from 'react' import {styled} from 'styled-components' export const BoxSticky = memo(styled(Box)` position: sticky; top: 0; `)