UNPKG

@wulperstudio/cms

Version:
20 lines (19 loc) 850 B
import React from 'react'; import { BoxProps } from '@mui/material'; type IValue<T> = T; export interface ToggleButtonSizesPropsModel<T> { iconColor?: string; backgroundColor?: string; onTableFunction?: () => void; onCardsFunction?: () => void; iconLeft?: string; iconRight?: string; backgrondColorSelected?: string; value?: IValue<T>; boxProps?: Omit<BoxProps, 'onChange' | 'color'>; valueLeft?: string; valueRight?: string; onChange?: (event: React.MouseEvent<HTMLElement, MouseEvent>, value: T) => void; } export declare const ToggleButtonSizes: <T>({ backgroundColor, iconColor, iconLeft, iconRight, onCardsFunction, onTableFunction, value, boxProps, onChange, backgrondColorSelected, valueLeft, valueRight, }: ToggleButtonSizesPropsModel<T>) => import("react/jsx-runtime").JSX.Element; export {};