@cfxjs/react-ui
Version:
Modern and minimalist React UI library.
10 lines (9 loc) • 566 B
TypeScript
import React, { ReactNode } from 'react';
import { NormalSizes } from '../utils/prop-types';
import { ButtonProps } from './button';
import { ButtonGroupConfig } from '../button-group/button-group-context';
export declare const getButtonChildrenWithIcon: (loading: boolean, auto: boolean, size: NormalSizes, children: ReactNode, icons: {
icon?: React.ReactNode;
iconRight?: React.ReactNode;
}, isTag: boolean) => JSX.Element;
export declare const filterPropsWithGroup: (props: React.PropsWithChildren<ButtonProps>, config: ButtonGroupConfig) => ButtonProps;