mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
19 lines
No EOL
548 B
JavaScript
19 lines
No EOL
548 B
JavaScript
import React, { PropTypes, Component } from 'react';
|
|
import { Button } from 'react-bootstrap';
|
|
import { ModalTrigger } from "meteor/nova:core";
|
|
|
|
const PostsNewButton = (props, context) => {
|
|
|
|
({PostsNewForm} = Telescope.components);
|
|
|
|
return (
|
|
<ModalTrigger title="New Post" component={<Button className="posts-new-button" bsStyle="primary">New Post</Button>}>
|
|
<Telescope.components.PostsNewForm/>
|
|
</ModalTrigger>
|
|
)
|
|
}
|
|
|
|
PostsNewButton.displayName = "PostsNewButton";
|
|
|
|
module.exports = PostsNewButton;
|
|
export default PostsNewButton; |