CardFooter
Bottom action/metadata row of a `Card`, typically used for buttons, timestamps, or secondary info.
Bottom action/metadata row of a <Card>, typically used for buttons, timestamps, or secondary info.
import { CardFooter } from "@tetherto/mdk-react-devkit";CardFooter exposes no documented props.
Usage
Layout card with optional Card.Header, Card.Body, and Card.Footer slots.
Default children go to body. Forwards all native <div> attributes; pass
onClick to make the whole card clickable.
Slots
<Card>
<Card.Header>Title</Card.Header>
<Card.Body>Content</Card.Body>
<Card.Footer>Actions</Card.Footer>
</Card>
Example
/** * Runnable example for Card. */import { Button, Card } from '@tetherto/mdk-react-devkit'export const CardExample = () => ( <Card className="mdk-example-card"> <Card.Header> <strong>Container 03</strong> </Card.Header> <Card.Body> <p>Power: 31.5 kW</p> <p>Hashrate: 102.4 TH/s</p> </Card.Body> <Card.Footer> <Button variant="primary" size="sm"> Details </Button> </Card.Footer> </Card>)