use styled components and improve error handling
This commit is contained in:
parent
9d0d54c2e4
commit
29f79c67d8
10 changed files with 117 additions and 86 deletions
|
@ -9,8 +9,10 @@ rec {
|
|||
writeAttrs = attrs:
|
||||
toString (builtins.attrValues (
|
||||
builtins.mapAttrs (key: value:
|
||||
if (builtins.substring 0 2 key) == "__" then ""
|
||||
else ''${key}="${toString value}"'') attrs
|
||||
if (builtins.substring 0 2 key) == "__"
|
||||
then ""
|
||||
else ''${key}="${toString value}"'')
|
||||
attrs
|
||||
));
|
||||
|
||||
tag = tag: attrs: child: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue