pouncejs
Version:
A collection of UI components from Panther labs
6 lines (5 loc) • 299 B
TypeScript
import { CardProps } from './Card';
import { BoxProps } from '../Box';
declare type useCardVariantBackgroundProps = Required<Pick<CardProps, 'variant'>>;
declare const useCardVariantBackground: ({ variant }: useCardVariantBackgroundProps) => BoxProps['bg'];
export default useCardVariantBackground;