import React from 'react'; import { VisageContext } from './context'; import { StyleGenerator, Theme } from './types'; import { useDesignSystem } from './useDesignSystem'; interface DesignSystemProps> { children?: React.ReactNode; is?: number; styleGenerator: StyleGenerator; theme: TTheme; } export function DesignSystem({ children, is = 0, styleGenerator, theme, }: DesignSystemProps) { const visage = useDesignSystem({ is, styleGenerator, theme, }); return ( {children} ); }