Skip to content

Commit

Permalink
Refactored demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Merve7 committed Sep 8, 2017
1 parent deea0d1 commit 6be8140
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/showcase/breadcrumb/BreadcrumbDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import {Breadcrumb} from 'primereact/components/breadcrumb/Breadcrumb';
`}</CodeHighlight>

<h3>Getting Started</h3>
<p>Component is defined using the Password element .</p>
<p>Component is defined using the BreadCrumb element .</p>
<CodeHighlight className="html javascript">
{`
<BreadCrumb model={items}/>
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/chart/ChartDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ChartDoc extends Component {
return (
<div className="content-section source">
<h3>Chart Component</h3>
<p>Chart component is used to display a chart on page. The classname is UIChart and element tag is p-chart.</p>
<p>Chart component is used to display a chart on page. The classname is UIChart and element tag is Chart.</p>

<h3>Import</h3>
<CodeHighlight className="javascript">
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/contextmenu/ContextMenuDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ import {ContextMenu} from 'primereact/components/contextmenu/ContextMenu';
<td>appendTo</td>
<td>any</td>
<td>null</td>
<td>Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element.</td>
<td>Target element to attach the overlay, valid values are "body" or a local template variable of another element.</td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/megamenu/MegaMenuDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ var items=[
</CodeHighlight>

<h3>Custom Content</h3>
<p>Custom content can be placed between p-megaMenu tags. Megamenu should be horizontal for custom content.</p>
<p>Custom content can be placed between MegaMenu tags. Megamenu should be horizontal for custom content.</p>
<CodeHighlight className="html">
{`
<MegaMenu model={items}>
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/slidemenu/SlideMenuDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ import {SlideMenu} from 'primereact/components/slidemenu/SlideMenu';
</CodeHighlight>

<h3>MenuItem API</h3>
<p>PanelMenu uses the common menu item api to define its items, visit <Link to="/menumodel"> MenuModel </Link> for details.</p>
<p>SlideMenu uses the common menu item api to define its items, visit <Link to="/menumodel"> MenuModel </Link> for details.</p>

<h3>Getting Started</h3>
<p>SlideMenu requires nested menuitems as its model.</p>
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/steps/StepsDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ import {Steps} from 'primereact/components/steps/Steps';
<p>Steps uses the common menu item api to define its items, visit <Link to="/menumodel"> MenuModel </Link> for details.</p>

<h3>Getting Started</h3>
<p>Component is defined using the Password element .</p>
<p>Component is defined using the Steps element .</p>
<CodeHighlight className="html">
{`
<Steps model={items}/>
Expand Down

0 comments on commit 6be8140

Please sign in to comment.