UNPKG

@specialdoom/solid-rev-kit

Version:

RevKit UI implementation for SolidJS

10 lines (9 loc) 355 B
import { Component, JSXElement } from 'solid-js'; import { Colors } from '../theme-provider/theme'; export type AlertType = 'accent' | 'success' | 'warning' | 'error' | 'dark' | 'bright'; export interface AlertProps { type?: AlertType; color?: keyof Colors; children?: JSXElement; } export declare const Alert: Component<AlertProps>;