mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
NodeImageBlock resizes to content
This commit is contained in:
parent
a0272f5baa
commit
1299a0e766
5 changed files with 79 additions and 14 deletions
|
@ -9,13 +9,13 @@ import { NodePanel } from '~/components/node/NodePanel';
|
|||
import { NodeRelated } from '~/components/node/NodeRelated';
|
||||
import { Tags } from '~/components/node/Tags';
|
||||
import { NodeNoComments } from '~/components/node/NodeNoComments';
|
||||
import { ImageSwitcher } from "~/components/node/ImageSwitcher";
|
||||
import { ImageSwitcher } from '~/components/node/ImageSwitcher';
|
||||
|
||||
interface IProps {}
|
||||
|
||||
const ImageExample: FC<IProps> = () => (
|
||||
<Card className={styles.node} seamless>
|
||||
<ImageSwitcher total={5} current={2} />
|
||||
<ImageSwitcher total={5} current={2} onChange={console.log} />
|
||||
|
||||
<div className={styles.image_container}>
|
||||
<img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue