mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Adding filters
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
export default (props) => (
|
||||
<span>
|
||||
Filter
|
||||
</span>
|
||||
export default () => (
|
||||
<span><input type="checkbox"/>Hide Off-Topic Comments</span>
|
||||
);
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import OffTopicCheckbox from './components/OffTopicCheckbox';
|
||||
import OffTopicTag from './components/OffTopicTag';
|
||||
import OffTopicFilter from './components/OffTopicFilter';
|
||||
import translations from './translations.json';
|
||||
|
||||
export default {
|
||||
translations,
|
||||
slots: {
|
||||
commentInputDetailArea: [OffTopicCheckbox],
|
||||
streamViewingOptions: [OffTopicFilter],
|
||||
commentInfoBar: [OffTopicTag]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user