@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
34 lines • 1.26 kB
TypeScript
import { Factory, RadioCardProps as MantineRadioCardProps, RadioCardStylesNames as MantineRadioCardStylesNames, RadioCardCssVariables, StylesApiProps } from '@mantine/core';
import { ReactNode } from 'react';
export type RadioCardStylesNames = MantineRadioCardStylesNames | 'container' | 'indicator' | 'title' | 'description';
export type RadioCardFactory = Factory<{
props: RadioCardProps;
ref: HTMLButtonElement;
stylesNames: RadioCardStylesNames;
vars: RadioCardCssVariables;
}>;
export type RadioCardProps = MantineRadioCardProps & StylesApiProps<RadioCardFactory> & {
/**
* The label of the card. Appears next to the radio indicator.
*/
label: ReactNode;
/**
* The description of the card. Appears under the title.
*/
description?: ReactNode;
/**
* If true, the radio card will be displayed in a read-only state.
*/
readOnly?: boolean;
/**
* The tooltip message to display when disabled
*/
disabledTooltip?: string;
};
export declare const RadioCard: import("@mantine/core").MantineComponent<{
props: RadioCardProps;
ref: HTMLButtonElement;
stylesNames: RadioCardStylesNames;
vars: RadioCardCssVariables;
}>;
//# sourceMappingURL=RadioCard.d.ts.map