@crossed/primitive
Version:
A universal & performant styling library for React Native, Next.js & React
17 lines • 600 B
TypeScript
/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
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;
}) => import("react/jsx-runtime").JSX.Element;
export { Slot, Slottable };
export type { SlotProps };
//# sourceMappingURL=Slot.d.ts.map