From 8d1dd3179f15db04dfe037cc83f41af1aabfb678 Mon Sep 17 00:00:00 2001 From: Ruslan Kabalin Date: Fri, 27 Apr 2018 10:22:29 +0100 Subject: [PATCH] example-membership: Use vulcan-ui-bootstrap. Moving away of direct react-bootstrap dependency (issue #50). --- packages/example-membership/lib/components/pics/PicsHome.jsx | 5 ++--- packages/example-membership/package.js | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/example-membership/lib/components/pics/PicsHome.jsx b/packages/example-membership/lib/components/pics/PicsHome.jsx index 35966356..7eb9839f 100644 --- a/packages/example-membership/lib/components/pics/PicsHome.jsx +++ b/packages/example-membership/lib/components/pics/PicsHome.jsx @@ -7,7 +7,6 @@ Pics Home component import React from 'react'; import { registerComponent, Components, withCurrentUser } from 'meteor/vulcan:core'; import Users from 'meteor/vulcan:users'; -import Button from 'react-bootstrap/lib/Button'; const PicsHome = ({results = [], currentUser, loading, loadMore, count, totalCount}) => { if (currentUser) { @@ -24,7 +23,7 @@ const PicsHome = ({results = [], currentUser, loading, loadMore, count, totalCou associatedCollection={Users} associatedDocument={currentUser} fragmentName="UsersCurrent" - button={} + button={Buy membership} /> } @@ -44,4 +43,4 @@ const PicsHome = ({results = [], currentUser, loading, loadMore, count, totalCou }; -registerComponent('PicsHome', PicsHome, withCurrentUser); \ No newline at end of file +registerComponent('PicsHome', PicsHome, withCurrentUser); diff --git a/packages/example-membership/package.js b/packages/example-membership/package.js index 0e1cc68d..f1587f2b 100644 --- a/packages/example-membership/package.js +++ b/packages/example-membership/package.js @@ -16,6 +16,7 @@ Package.onUse(function (api) { 'vulcan:accounts@1.9.0', 'vulcan:forms-upload@1.9.0', 'vulcan:payments@1.9.0', + 'vulcan:ui-bootstrap@1.9.1', // third-party packages 'fourseven:scss@4.5.0',