Blame view

天文台pc/tianwentai-ui/node_modules/@radix-ui/react-slot/dist/index.d.mts 546 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
  import * as react_jsx_runtime from 'react/jsx-runtime';
  import * as React from 'react';
  
  interface SlotProps extends React.HTMLAttributes<HTMLElement> {
      children?: React.ReactNode;
  }
  declare const Slot: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLElement>>;
  declare const Slottable: ({ children }: {
      children: React.ReactNode;
  }) => react_jsx_runtime.JSX.Element;
  declare const Root: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLElement>>;
  
  export { Root, Slot, type SlotProps, Slottable };