itmar-block-packages
Version:
Common React components for WordPress custom blocks, now fully TypeScript-ready.
18 lines (17 loc) • 550 B
TypeScript
interface FontStyle {
default_fontSize: string;
mobile_fontSize: string;
fontSize?: string;
fontFamily: string;
fontWeight: string;
isItalic: boolean;
}
interface TypographyControlsProps {
title: string;
fontStyle: FontStyle;
initialOpen?: boolean;
isMobile: boolean;
onChange: (newStyle: FontStyle) => void;
}
declare const TypographyControls: ({ title, fontStyle, initialOpen, isMobile, onChange, }: TypographyControlsProps) => import("react/jsx-runtime").JSX.Element;
export default TypographyControls;