mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 18:53:02 +00:00
merge new into master
This commit is contained in:
50
node_modules/@radix-ui/react-toolbar/dist/index.d.ts
generated
vendored
Normal file
50
node_modules/@radix-ui/react-toolbar/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
||||
import * as React from 'react';
|
||||
import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
|
||||
import { Primitive } from '@radix-ui/react-primitive';
|
||||
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
||||
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
||||
|
||||
declare const createToolbarScope: _radix_ui_react_context.CreateScope;
|
||||
type RovingFocusGroupProps = React.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
|
||||
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
|
||||
interface ToolbarProps extends PrimitiveDivProps {
|
||||
orientation?: RovingFocusGroupProps['orientation'];
|
||||
loop?: RovingFocusGroupProps['loop'];
|
||||
dir?: RovingFocusGroupProps['dir'];
|
||||
}
|
||||
declare const Toolbar: React.ForwardRefExoticComponent<ToolbarProps & React.RefAttributes<HTMLDivElement>>;
|
||||
type SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;
|
||||
interface ToolbarSeparatorProps extends SeparatorProps {
|
||||
}
|
||||
declare const ToolbarSeparator: React.ForwardRefExoticComponent<ToolbarSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
||||
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
||||
interface ToolbarButtonProps extends PrimitiveButtonProps {
|
||||
}
|
||||
declare const ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
type PrimitiveLinkProps = React.ComponentPropsWithoutRef<typeof Primitive.a>;
|
||||
interface ToolbarLinkProps extends PrimitiveLinkProps {
|
||||
}
|
||||
declare const ToolbarLink: React.ForwardRefExoticComponent<ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
||||
type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>;
|
||||
interface ToolbarToggleGroupSingleProps extends Extract<ToggleGroupProps, {
|
||||
type: 'single';
|
||||
}> {
|
||||
}
|
||||
interface ToolbarToggleGroupMultipleProps extends Extract<ToggleGroupProps, {
|
||||
type: 'multiple';
|
||||
}> {
|
||||
}
|
||||
declare const ToolbarToggleGroup: React.ForwardRefExoticComponent<(ToolbarToggleGroupSingleProps | ToolbarToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
||||
type ToggleGroupItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>;
|
||||
interface ToolbarToggleItemProps extends ToggleGroupItemProps {
|
||||
}
|
||||
declare const ToolbarToggleItem: React.ForwardRefExoticComponent<ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
declare const Root: React.ForwardRefExoticComponent<ToolbarProps & React.RefAttributes<HTMLDivElement>>;
|
||||
declare const Separator: React.ForwardRefExoticComponent<ToolbarSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
||||
declare const Button: React.ForwardRefExoticComponent<ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
declare const Link: React.ForwardRefExoticComponent<ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
||||
declare const ToggleGroup: React.ForwardRefExoticComponent<(ToolbarToggleGroupSingleProps | ToolbarToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
||||
declare const ToggleItem: React.ForwardRefExoticComponent<ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
|
||||
export { Button, Link, Root, Separator, ToggleGroup, ToggleItem, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, ToolbarToggleGroup, type ToolbarToggleGroupMultipleProps, type ToolbarToggleGroupSingleProps, ToolbarToggleItem, type ToolbarToggleItemProps, createToolbarScope };
|
||||
Reference in New Issue
Block a user