1
0
Fork 0
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:
muerwre 2019-08-25 17:29:26 +07:00
parent a0272f5baa
commit 1299a0e766
5 changed files with 79 additions and 14 deletions

View file

@ -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