UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

10 lines (9 loc) 443 B
import { CardSpacing } from "../card.config"; export interface CardContextProps { /** Sets the level of roundness of the corners, "default" is 8px and "large" is 16px */ roundness: "default" | "large"; /** Size of card for applying padding */ spacing: CardSpacing; } declare const CardProvider: import("react").Provider<CardContextProps | null>, useCardContext: () => CardContextProps; export { CardProvider, useCardContext };