importReactfrom'react';import{ThemeProvider}from'@tal-gel/theming';import{Link}from'@tal-gel/atoms';constdemo=()=>{return(<!--Defaultthemeisusedbydefault--><ThemeProvider><!---underlineThickness: indicatesthethicknessoftextunderline(default: 1px)-disabled: indicatesadisabledlink--><!--Someexamples... --><h2>I am an h2 <LinkunderlineThickness="2">link in h2</Link> I am an h2</h2><p>I am a paragraph <Linkdisabled>disabled link in p</Link> I am a paragraph</p><Link>link</Link><span>I am a span <Link>link in span</Link> I am a span</span></ThemeProvider>
);
}
Versions
0.1.0: Initial button component added
0.2.0: SVG filters and SVG scaling
0.3.0: Initial link component added
0.3.1: Button and Link component refactored
0.4.0: Dynamic generation of svg filters from hex values