Initial commit
This commit is contained in:
21
node_modules/@radix-ui/react-separator/dist/index.d.mts
generated
vendored
Normal file
21
node_modules/@radix-ui/react-separator/dist/index.d.mts
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
import * as React from 'react';
|
||||
import { Primitive } from '@radix-ui/react-primitive';
|
||||
|
||||
declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
|
||||
type Orientation = (typeof ORIENTATIONS)[number];
|
||||
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
|
||||
interface SeparatorProps extends PrimitiveDivProps {
|
||||
/**
|
||||
* Either `vertical` or `horizontal`. Defaults to `horizontal`.
|
||||
*/
|
||||
orientation?: Orientation;
|
||||
/**
|
||||
* Whether or not the component is purely decorative. When true, accessibility-related attributes
|
||||
* are updated so that that the rendered element is removed from the accessibility tree.
|
||||
*/
|
||||
decorative?: boolean;
|
||||
}
|
||||
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
||||
declare const Root: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
||||
|
||||
export { Root, Separator, type SeparatorProps };
|
||||
Reference in New Issue
Block a user