@tactics/lokaal-loket
v0.0.339
Published
Component library for Lokaal Loket project
Downloads
4,624
Readme
Documentation
TODO: add examples
const alternate = LookupAlternate({
name: "Button",
alternates: alternates,
});
const bg_color = LookupAdditionalColor({
name: "bg_ui",
colors: colors.additional,
fallback: colors.primary.tint_500,
});
const records = React.Children.map(children, (child) => {
// equal to (if (child == null || typeof child == 'string'))
if (!React.isValidElement(child)) return child;
return (
<Grid.Item>
{
React.cloneElement(child)
}
</Grid.Item>
);
});