mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add subscribe button to details drawer
This commit is contained in:
parent
6c87ed1be9
commit
e81fe4fac8
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import React from 'react';
|
|||
|
||||
import { Description } from '..';
|
||||
import { List } from '../../interfaces/List';
|
||||
import { SubscribeButton } from '../buttons';
|
||||
|
||||
interface State {
|
||||
visible: boolean;
|
||||
|
|
@ -32,6 +33,7 @@ export class ListDetails extends React.Component<Props, State> {
|
|||
visible={this.state.visible}
|
||||
onClose={() => this.setState({ visible: false, })}>
|
||||
<Description {...this.props.list} />
|
||||
<SubscribeButton {...this.props.list} />
|
||||
</Drawer>
|
||||
</span>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue