UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

11 lines (10 loc) 547 B
import * as React from 'react'; import { insetPropDefs } from './inset.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js'; import type { GetPropDefTypes, MarginProps } from '../props/index.js'; type InsetOwnProps = GetPropDefTypes<typeof insetPropDefs>; interface InsetProps extends ComponentPropsWithout<'div', RemovedProps>, MarginProps, InsetOwnProps { } declare const Inset: React.ForwardRefExoticComponent<InsetProps & React.RefAttributes<HTMLDivElement>>; export { Inset }; export type { InsetProps };