Skip to content

Commit

Permalink
Fix class name for Styleguide examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnito committed May 22, 2019
1 parent 3486aad commit c3b114b
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/AddImages/AddImages.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import findIndex from 'lodash/findIndex';
import uniqueId from 'lodash/uniqueId';
import { types as sdkTypes } from '../../util/sdkLoader';
import AddImages from './AddImages';
import css from './AddImages.example.css';
import css from './AddImagesExample.css';

const { UUID } = sdkTypes;

Expand Down
2 changes: 1 addition & 1 deletion src/components/BookingPanel/BookingPanel.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { createListing } from '../../util/test-data';
import { LISTING_STATE_CLOSED } from '../../util/types';
import BookingPanel from './BookingPanel';
import css from './BookingPanel.example.css';
import css from './BookingPanelExample.css';

export const Default = {
component: BookingPanel,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/Button.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { Component } from 'react';
import { IconCheckmark } from '../../components';
import Button, { PrimaryButton, SecondaryButton, InlineTextButton } from './Button';

import css from './Button.example.css';
import css from './ButtonExample.css';

const preventDefault = e => {
e.preventDefault();
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/FieldTextInput/FieldTextInput.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as validators from '../../util/validators';
import { Button } from '../../components';
import FieldTextInput from './FieldTextInput';

import css from './FieldTextInput.example.css';
import css from './FieldTextInputExample.css';

const FormComponent = props => (
<FinalForm
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Footer from './Footer';
import css from './Footer.example.css';
import css from './FooterExample.css';

export const Default = {
component: Footer,
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion src/components/ModalInMobile/ModalInMobile.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React, { Component } from 'react';
import { Button } from '../../components';
import ModalInMobile from './ModalInMobile';
import css from './ModalInMobile.example.css';
import css from './ModalInMobileExample.css';

const onManageDisableScrolling = (componentId, scrollingDisabled = true) => {
// We are just checking the value for now
Expand Down Expand Up @@ -48,6 +48,7 @@ class ModalInMobileWrapper extends Component {
export const Empty = {
component: ModalInMobileWrapper,
useDefaultWrapperStyles: false,
description: 'Modal feature is visible if window\'s width is less than 400px.',
props: {
id: 'ExampleModalInMobile',
showAsModalMaxWidth: 400,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ResponsiveImage/ResponsiveImage.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import ResponsiveImage from './ResponsiveImage';
import { types as sdkTypes } from '../../util/sdkLoader';

import css from './ResponsiveImage.example.css';
import css from './ResponsiveImageExample.css';

const { UUID } = sdkTypes;

Expand Down

0 comments on commit c3b114b

Please sign in to comment.