UNPKG

@pushchain/ui-kit

Version:

Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.

24 lines (23 loc) 1.04 kB
import React, { HTMLAttributes, ReactNode } from 'react'; export type TransformedHTMLAttributes<T> = Omit<HTMLAttributes<T>, 'style' | 'color'>; export type ButtonProps = { children?: ReactNode; bgColor?: React.CSSProperties['backgroundColor']; textColor?: React.CSSProperties['color']; borderRadius?: React.CSSProperties['borderRadius']; gap?: React.CSSProperties['gap']; padding?: React.CSSProperties['padding']; disabled?: boolean; style?: React.CSSProperties; } & TransformedHTMLAttributes<HTMLButtonElement>; declare const Button: React.ForwardRefExoticComponent<{ children?: ReactNode; bgColor?: React.CSSProperties["backgroundColor"]; textColor?: React.CSSProperties["color"]; borderRadius?: React.CSSProperties["borderRadius"]; gap?: React.CSSProperties["gap"]; padding?: React.CSSProperties["padding"]; disabled?: boolean; style?: React.CSSProperties; } & TransformedHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>; export { Button };