1.0.5 • Published 3 years ago

mkz-react-snippets v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

mkz-react-snippets

Simple and easy to use react snippets.

Installation

npm i mkz-react-snippets

Components

NameDescriptionNote
FollowZoomImageApplies Follow ZoomApplies on div element

Usage

FollowZoomImage

Important notes of using this component:

  • div component.
  • Needs to be controlled by a stylesheet.
  • class_name is the class mentioned in the styleSheet
  • CSS Module className is allowed.
import React from 'react';
import { FollowZoomImage } from 'mkz-react-snippets';

import './MyStyle.css';

import image from './src/img/myImage.png';

export const MyAwesomeComponent = () => {
    return <FollowZoomImage class_name={'myClass'} imagePath={image} />
}
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago