draft-js-buttons
- Version 2.0.2
- Published
- 34.3 kB
- 1 dependency
- MIT license
Install
npm i draft-js-buttonsyarn add draft-js-buttonspnpm add draft-js-buttonsOverview
Buttons for DraftJS
Index
Variables
Functions
Interfaces
Type Aliases
Variables
variable AlignBlockCenterButton
const AlignBlockCenterButton: ComponentType<DraftJsBlockAlignmentButtonProps>;variable AlignBlockDefaultButton
const AlignBlockDefaultButton: ComponentType<DraftJsBlockAlignmentButtonProps>;variable AlignBlockLeftButton
const AlignBlockLeftButton: ComponentType<DraftJsBlockAlignmentButtonProps>;variable AlignBlockRightButton
const AlignBlockRightButton: ComponentType<DraftJsBlockAlignmentButtonProps>;variable BlockquoteButton
const BlockquoteButton: ComponentType<DraftJsStyleButtonProps>;variable BoldButton
const BoldButton: ComponentType<DraftJsStyleButtonProps>;variable CodeBlockButton
const CodeBlockButton: ComponentType<DraftJsStyleButtonProps>;variable CodeButton
const CodeButton: ComponentType<DraftJsStyleButtonProps>;variable HeadlineOneButton
const HeadlineOneButton: ComponentType<DraftJsStyleButtonProps>;variable HeadlineThreeButton
const HeadlineThreeButton: ComponentType<DraftJsStyleButtonProps>;variable HeadlineTwoButton
const HeadlineTwoButton: ComponentType<DraftJsStyleButtonProps>;variable ItalicButton
const ItalicButton: ComponentType<DraftJsStyleButtonProps>;variable OrderedListButton
const OrderedListButton: ComponentType<DraftJsStyleButtonProps>;variable SubButton
const SubButton: ComponentType<DraftJsStyleButtonProps>;variable SupButton
const SupButton: ComponentType<DraftJsStyleButtonProps>;variable UnderlineButton
const UnderlineButton: ComponentType<DraftJsStyleButtonProps>;variable UnorderedListButton
const UnorderedListButton: ComponentType<DraftJsStyleButtonProps>;Functions
function createBlockStyleButton
createBlockStyleButton: ( alignment: string, children: ReactNode) => ComponentType<DraftJsStyleButtonProps>;function createInlineStyleButton
createInlineStyleButton: ( alignment: string, children: ReactNode) => ComponentType<DraftJsStyleButtonProps>;Interfaces
interface DraftJsBlockAlignmentButtonProps
interface DraftJsBlockAlignmentButtonProps extends DraftJsButtonProps {}property alignment
alignment: string;method setAlignment
setAlignment: (alignment: string) => void;interface DraftJsButtonProps
interface DraftJsButtonProps {}property theme
theme?: DraftJsButtonTheme;interface DraftJsButtonTheme
interface DraftJsButtonTheme {}property active
active: string;property button
button: string;property buttonWrapper
buttonWrapper: string;interface DraftJsStyleButtonProps
interface DraftJsStyleButtonProps extends DraftJsButtonProps {}method getEditorState
getEditorState: () => EditorState;method setEditorState
setEditorState: (editorState: EditorState) => void;Type Aliases
type DraftJsBlockAlignmentButtonType
type DraftJsBlockAlignmentButtonType = ComponentType<DraftJsBlockAlignmentButtonProps>;type DraftJsStyleButtonType
type DraftJsStyleButtonType = ComponentType<DraftJsStyleButtonProps>;Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (3)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/draft-js-buttons.
- Markdown[](https://www.jsdocs.io/package/draft-js-buttons)
- HTML<a href="https://www.jsdocs.io/package/draft-js-buttons"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1440 ms. - Missing or incorrect documentation? Open an issue for this package.
