Skip to content

Commit

Permalink
fixed errors in code
Browse files Browse the repository at this point in the history
  • Loading branch information
gchaps authored and snide committed Feb 23, 2018
1 parent ca43bf2 commit afdcffb
Showing 1 changed file with 6 additions and 30 deletions.
36 changes: 6 additions & 30 deletions src-docs/src/views/guidelines/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,12 @@ import {
EuiTableRowCell
} from '../../../../src/components';

import makeId from '../../../../src/components/form/form_row/make_id';

const GuideRuleWriting = ({
children,
className,
...rest,
}) => {
const classes = classNames(className);

return (
<EuiText
className={classes}
{...rest}
>
<p>{children}</p>
</EuiText>
);
};

export default () => (
<GuidePage title="Button">
<EuiText>
<h1>Button</h1>
<p>
Choosing a button style and type depends on the prominence of the action it performs and the context in which the button appears.
Determining a button type, style, and placement depends on the prominence of the action it performs and the context in which the button appears.
</p>
<EuiLink
href="https://elastic.github.io/eui/#/button"
Expand Down Expand Up @@ -180,8 +161,6 @@ export default () => (
>
<EuiImage
size="l"
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/0jZMx6B.jpg"
/>
Expand All @@ -195,17 +174,12 @@ export default () => (
>
<EuiImage
size="l"
hasShadow
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/FCVuZbP.jpg"
url="https://imgur.com/otiQ8RY.jpg"
/>
</GuideRuleExample>
</GuideRule>

<EuiSpacer />

<GuideRule
heading="Forms"
description="In forms, content is typically concentrated on the top and left. The user path is top to bottom,
Expand All @@ -223,7 +197,6 @@ export default () => (
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/90QdVT9.jpg"
caption="Caption"
/>
</GuideRuleExample>

Expand All @@ -232,6 +205,7 @@ export default () => (
size="l"
hasShadow
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/aiPlqks.jpg"
/>
Expand Down Expand Up @@ -262,6 +236,7 @@ export default () => (
size="l"
hasShadow
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/eVIWhUN.jpg"
/>
Expand All @@ -287,6 +262,7 @@ export default () => (
size="l"
hasShadow
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/5diUfSX.jpg"
/>
Expand All @@ -301,6 +277,7 @@ export default () => (
size="l"
hasShadow
allowFullScreen
fullScreenIconColor="dark"
alt="page without primary button"
url="https://imgur.com/Vkrj67k.jpg"
/>
Expand Down Expand Up @@ -474,7 +451,6 @@ export default () => (
<EuiImage
size="l"
hasShadow
allowFullScreen
alt="Next"
url="https://imgur.com/54NmOzh.jpg"
/>
Expand Down

0 comments on commit afdcffb

Please sign in to comment.