2022-03-28 12:12:27 +03:00
|
|
|
---
|
|
|
|
sidebar_position: 9
|
|
|
|
---
|
2022-08-03 19:25:32 +03:00
|
|
|
|
2022-03-28 12:12:27 +03:00
|
|
|
import Tabs from '@theme/Tabs';
|
|
|
|
import TabItem from '@theme/TabItem';
|
2022-08-03 19:25:32 +03:00
|
|
|
import Thumbnail from '@site/src/components/Thumbnail';
|
2022-03-28 12:12:27 +03:00
|
|
|
|
|
|
|
# Thumbnail
|
2022-08-03 19:25:32 +03:00
|
|
|
|
2022-03-28 12:12:27 +03:00
|
|
|
```jsx
|
2022-08-03 19:25:32 +03:00
|
|
|
import Thumbnail from '@site/src/components/Thumbnail';
|
2022-03-28 12:12:27 +03:00
|
|
|
|
2022-08-03 19:25:32 +03:00
|
|
|
<Thumbnail src='/img/account-management/billing/add_new_card.png' alt='add a new card' width='437px' />;
|
2022-03-28 12:12:27 +03:00
|
|
|
```
|
2022-08-03 19:25:32 +03:00
|
|
|
|
2022-03-28 12:12:27 +03:00
|
|
|
Just pass in all the valid attributes for image as props.
|
|
|
|
|
|
|
|
## Result UI
|
|
|
|
|
2022-08-03 19:25:32 +03:00
|
|
|
<Thumbnail src='/img/account-management/billing/add_new_card.png' alt='add a new card' width='437px' />
|
2022-03-28 12:12:27 +03:00
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
A few examples,
|
|
|
|
|
2022-08-03 19:25:32 +03:00
|
|
|
<Thumbnail src='/img/account-management/billing/coupon_redemption.png' alt='Coupons and Credits' />
|
2022-03-28 12:12:27 +03:00
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2022-08-03 19:25:32 +03:00
|
|
|
<Thumbnail src='/img/account-management/billing/invoice_settings.png' alt='invoice settings' />
|