@postenbring/hedwig-react
Version:
React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).
21 lines • 642 B
TypeScript
export interface FigureProps extends React.HTMLAttributes<HTMLQuoteElement> {
children?: React.ReactNode;
/**
* Change the default rendered element for the one passed as a child, merging their props and behavior.
*
* @default false
*/
asChild?: boolean;
}
/**
* @example
*
* ```tsx
* <Figure>
* <img src="https://placedog.net/500/280" alt="A very good dog" />
* <figcaption>Dogs are the best</figcaption>
* </Figure>
* ```
*/
export declare const Figure: import("react").ForwardRefExoticComponent<FigureProps & import("react").RefAttributes<HTMLQuoteElement>>;
//# sourceMappingURL=figure.d.ts.map