UNPKG

@smart-react-components/ui

Version:
12 lines (11 loc) 573 B
import { ClickEvents } from '@smart-react-components/core/element-props/click-events'; import { ContentElement } from '@smart-react-components/core/types'; import React from 'react'; import { StyledComponent } from 'styled-components'; import { ButtonGenericProps, ButtonType } from '../types/button'; export interface Props extends ButtonGenericProps<ContentElement>, ClickEvents { as?: string | StyledComponent<any, any>; type?: ButtonType; } declare const Button: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>; export default Button;