UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

10 lines (9 loc) 521 B
import { ComponentType, HTMLAttributes, HTMLProps } from 'react'; export declare namespace Create { const Root: import("../../ui/util/PropsWithAs.js").ComponentWithAs<unknown, "div">; type Props = { icon?: ComponentType; }; function Link({ children, icon: Icon, ...props }: HTMLProps<HTMLAnchorElement> & Props): import("react/jsx-runtime").JSX.Element; function Button({ children, icon: Icon, ...props }: HTMLAttributes<HTMLButtonElement> & Props): import("react/jsx-runtime").JSX.Element; }