Skip to content

Refactor style builder. No more css parameter. #145

@JSideris

Description

@JSideris

We currently pass a styleBuilder:IDotCSS argument into the style function. But it's implicitly typed as any, which is really annoying, especially for JavaScript projects.

A better approach may be to have a component-level style builder available in DotComponent, which is always strongly typed and bound to a component.

Then this raises the question of whether we really need a style function at all. Maybe not.

Metadata

Metadata

Assignees

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions