@udecode/plate-ui-font
Version:
Font UI for Plate
17 lines • 682 B
TypeScript
import { ChangeEvent } from 'react';
import { StyledProps } from '@udecode/plate-styled-components';
import { CSSProp } from 'styled-components';
export declare type ColorInputStyles = {
/**
* Input.
*/
input?: CSSProp;
};
export interface ColorInputProps extends StyledProps<ColorInputStyles> {
value?: string;
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
}
export declare const getColorInputStyles: (props?: ColorInputProps | undefined) => {
root: import("@udecode/plate-styled-components").Style;
} & Record<"root" | "input", import("@udecode/plate-styled-components").Style | undefined>;
//# sourceMappingURL=ColorInput.styles.d.ts.map