Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vivid-planet/react-image
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.3
Choose a base ref
...
head repository: vivid-planet/react-image
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 14 commits
  • 5 files changed
  • 2 contributors

Commits on Nov 30, 2017

  1. Copy the full SHA
    e937015 View commit details
  2. Copy the full SHA
    013fc7b View commit details
  3. update description

    kaufmo committed Nov 30, 2017
    Copy the full SHA
    8421624 View commit details
  4. release version 1.0.4

    kaufmo committed Nov 30, 2017
    Copy the full SHA
    2972143 View commit details

Commits on Jul 12, 2018

  1. add types for typescript

    kaufmo committed Jul 12, 2018
    Copy the full SHA
    033c414 View commit details
  2. release version 1.1.0

    kaufmo committed Jul 12, 2018
    Copy the full SHA
    b0d2927 View commit details
  3. optimized types

    kaufmo committed Jul 12, 2018
    Copy the full SHA
    69e252c View commit details
  4. release version 1.1.1

    kaufmo committed Jul 12, 2018
    Copy the full SHA
    338b96c View commit details

Commits on Jul 17, 2018

  1. Copy the full SHA
    72dcd51 View commit details
  2. release version 1.2.0

    kaufmo committed Jul 17, 2018
    Copy the full SHA
    b058f64 View commit details

Commits on Sep 5, 2018

  1. Copy the full SHA
    fadb9c5 View commit details
  2. Copy the full SHA
    619be1e View commit details
  3. release version 1.3.0

    kaufmo committed Sep 5, 2018
    Copy the full SHA
    ab11875 View commit details
  4. Merge pull request #1 from vivid-planet/allow-srcSet

    Allow src set
    kaufmo authored Sep 5, 2018
    Copy the full SHA
    05e33f0 View commit details
Showing with 926 additions and 207 deletions.
  1. +17 −0 index.d.ts
  2. +889 −195 package-lock.json
  3. +7 −5 package.json
  4. +4 −3 scss/image.scss
  5. +9 −4 src/Image.js
17 changes: 17 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as React from "react";

export interface ImageProps {
src: string;
srcSet?: string;
width: number;
height: number;
className?: string;
alt?: string;
title?: string;
onClick?: () => void;
onLoaded?: () => void;
}

declare class Image extends React.Component<ImageProps> {}

export default Image;
Loading