asimex-visual-editor
Version:
A powerful visual page editor component for React applications
14 lines (13 loc) • 415 B
TypeScript
import React from 'react';
import { StyleSection as StyleSectionType } from '../../types/editor';
interface StyleSectionProps {
section: StyleSectionType;
isOpen: boolean;
currentStyles: {
[key: string]: string;
};
onToggle: () => void;
onStyleChange: (property: string, value: string) => void;
}
declare const StyleSection: React.FC<StyleSectionProps>;
export default StyleSection;