react-simple-wysiwyg
Advanced tools
Comparing version 0.0.5 to 0.0.6
import { ComponentType, PureComponent, SyntheticEvent } from 'react'; | ||
import * as React from 'react'; | ||
import { ICEProps } from './ContentEditable'; | ||
import { IStyles } from './styles'; | ||
import { IEditorStyles, IStyles } from './styles'; | ||
export declare const EditorContext: React.Context<IEditorContext>; | ||
@@ -17,3 +17,3 @@ export default class Editor extends PureComponent<IEditorProps, IState> { | ||
export interface IEditorProps extends ICEProps { | ||
styles?: IStyles; | ||
styles?: IEditorStyles; | ||
} | ||
@@ -20,0 +20,0 @@ export interface IEditorContext { |
export { default as ContentEditable } from './ContentEditable'; | ||
export { default as DefaultEditor } from './DefaultEditor'; | ||
export { default as Editor } from './Editor'; | ||
export { IEditorStyles } from './styles'; | ||
export * from './toolbar'; |
@@ -0,1 +1,2 @@ | ||
import { CSSProperties } from 'react'; | ||
declare const styles: { | ||
@@ -49,2 +50,6 @@ button: { | ||
export default styles; | ||
declare type CssCollection<T> = { | ||
[P in keyof T]?: CSSProperties | CssCollection<T[P]>; | ||
}; | ||
export declare type IStyles = typeof styles; | ||
export declare type IEditorStyles = CssCollection<IStyles>; |
{ | ||
"name": "react-simple-wysiwyg", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Simple and lightweight React WYSIWYG editor", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210249
1882