Last active
August 29, 2015 14:16
-
-
Save adamjernst/27884857a186168b7c68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation FBStoryComponent | |
+ (instancetype)newWithStory:(FBStory *)story | |
{ | |
return [self newWithComponent: | |
[FBStackLayoutComponent | |
newWithView:{} | |
size:{} | |
style:{.alignItems = FBStackLayoutAlignItemsStretch} | |
children:{ | |
{[FBHeaderComponent newWithStory:story]}, | |
{[FBMessageComponent newWithStory:story]}, | |
{[FBAttachmentComponent newWithStory:story]}, | |
{[FBLikeBarComponent newWithStory:story]}, | |
}]]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment