From 1e843c477b3aa58384eaf0808911cf5ce9e926ce Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Mon, 29 Aug 2016 18:48:41 -0700 Subject: [PATCH 1/2] wip --- docs/app/Examples/views/Feed/Types/Basic.js | 81 +++++++++++++++++++++ src/addons/Confirm/Confirm.js | 10 ++- src/elements/Header/Header.js | 5 +- src/lib/customPropTypes.js | 37 +++++++++- src/views/Feed/FeedContent.js | 23 ++++++ src/views/Feed/FeedDate.js | 8 +- src/views/Feed/FeedEvent.js | 22 +----- src/views/Feed/FeedLabel.js | 28 +------ src/views/Feed/FeedLike.js | 18 +---- src/views/Feed/FeedMeta.js | 9 +-- src/views/Feed/FeedSummary.js | 24 +----- src/views/Feed/FeedUser.js | 8 +- src/views/Item/Item.js | 30 ++------ src/views/Item/ItemContent.js | 25 ++----- src/views/Item/ItemDescription.js | 5 +- src/views/Item/ItemExtra.js | 5 +- src/views/Item/ItemHeader.js | 5 +- src/views/Item/ItemMeta.js | 5 +- src/views/Statistic/Statistic.js | 5 +- src/views/Statistic/StatisticLabel.js | 5 +- src/views/Statistic/StatisticValue.js | 5 +- 21 files changed, 183 insertions(+), 180 deletions(-) create mode 100644 docs/app/Examples/views/Feed/Types/Basic.js diff --git a/docs/app/Examples/views/Feed/Types/Basic.js b/docs/app/Examples/views/Feed/Types/Basic.js new file mode 100644 index 0000000000..97d607e748 --- /dev/null +++ b/docs/app/Examples/views/Feed/Types/Basic.js @@ -0,0 +1,81 @@ +import React from 'react' +import { Feed } from 'stardust' + +const { Content, Date, Event, Extra, Label, Like, Meta, Summary, User } = Feed + +const Basic = () => { + return ( + + + + + + Elliot Fu added you as a friend + 1 Hour Ago + + + 4 Likes + + + + + + + + +