Skip to content

Commit

Permalink
Change the default image
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal committed Nov 10, 2021
1 parent bdf1426 commit 55b45c4
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/components/Samples/Custom/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import Button from '../../Button';

import mocks from '../../../mocks';
import img from '../../../img.jpeg';
import img from '../../../cats.jpg';

const Box = ({ children, geometry, style }) => (
<div
Expand Down
2 changes: 1 addition & 1 deletion example/components/Samples/Linked/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';
import { Annotation } from 'react-mark-image';

import Root from '../../Root';
import img from '../../../img.jpeg';
import img from '../../../cats.jpg';

const Comments = styled.div`
border: 1px solid black;
Expand Down
2 changes: 1 addition & 1 deletion example/components/Samples/Multiple/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import Button from '../../Button';

import mocks from '../../../mocks';
import img from '../../../img.jpeg';
import img from '../../../cats.jpg';

export default class Multiple extends Component {
state = {
Expand Down
2 changes: 1 addition & 1 deletion example/components/Samples/Threaded/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Annotation, RectangleSelector, TextEditor } from 'react-mark-image';

import styled, { keyframes } from 'styled-components';
import Root from '../../Root';
import img from '../../../img.jpeg';
import img from '../../../cats.jpg';

/*
* You would normally have the different components here
Expand Down
2 changes: 1 addition & 1 deletion example/components/Samples/Touch/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import Button from '../../Button';

import mocks from '../../../mocks';
import img from '../../../img.jpeg';
import img from '../../../cats.jpg';

export default class Multiple extends Component {
state = {
Expand Down
Binary file removed example/img.jpeg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Stories/Common/AnnotationStoryTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AllowedShape } from '../../../types/index';
import Annotation, { AnnotationPropsOptional } from './../../Annotation';

const defaultImageUrl =
'https://raw.githubusercontent.com/RobinNagpal/react-mark-image/HEAD/example/img.jpeg';
'https://raw.githubusercontent.com/RobinNagpal/react-mark-image/HEAD/example/cats.jpg';

export const argTypes: ArgTypes = {
src: {
Expand Down

0 comments on commit 55b45c4

Please sign in to comment.