import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router-dom' import TagColorPreview from './tagColorPreview' import romanize from '../modules/romanize' import helpers from '../modules/helpers' export const ReaderEditButton = ({onClick}) =>
export const ReaderAnnotateButton = ({onClick}) =>
export const ChapterButton = ({chapter, currentChapter, onClick}) =>
export const NoteButton = ({note, currentNote, onClick}) =>
export const TagButton = ({tag, currentTag, onClick}) =>
export const HighlightButton = ({toggle, onClick, size='lg'}) =>
export const SearchButton = ({input, onClick}) =>
export const NewChapterButton = ({onClick}) =>
export const NewDocumentButton = ({onClick, docType}) =>
// Fairly abstracted export const AnnotatorNewButton = ({onClick, disabled}) => export const AnnotatorRemoveButton = ({onClick, disabled}) => export const EditorToolButton = ({glyph, onClick}) => export const EditorDeleteToolButton = ({disabled}) => export const EditorCancelButton = ({onClick}) => export const EditorSubmitButton = ({onClick}) => export const EditorDeleteButton = ({onClick}) => ReaderEditButton.propTypes = { onClick: PropTypes.func, } ReaderAnnotateButton.propTypes = { onClick: PropTypes.func, } ChapterButton.propTypes = { chapters: PropTypes.arrayOf(PropTypes.object), currentChapter: PropTypes.object, onClick: PropTypes.func, } NoteButton.propTypes = { notes: PropTypes.arrayOf(PropTypes.object), currentNotes: PropTypes.object, onClick: PropTypes.func, } HighlightButton.propTypes = { toggle: PropTypes.bool, onClick: PropTypes.func, } SearchButton.propTypes = { searchInput: PropTypes.string, onClick: PropTypes.func, } NewChapterButton.propTypes = { onClick: PropTypes.func, } NewDocumentButton.propTypes = { docType: PropTypes.string, onClick: PropTypes.func, } AnnotatorNewButton.propTypes = { disabled: PropTypes.bool, onClick: PropTypes.func, } AnnotatorRemoveButton.propTypes = { disabled: PropTypes.bool, onClick: PropTypes.func, } EditorToolButton.propTypes = { glyph: PropTypes.string, onClick: PropTypes.func, } EditorDeleteToolButton.propTypes = { disabled: PropTypes.bool, } EditorCancelButton.propTypes = { onClick: PropTypes.func, } EditorSubmitButton.propTypes = { onClick: PropTypes.func, } EditorDeleteButton.propTypes = { onClick: PropTypes.func, }