Merged PR 227: Refactor Properties in ContainerProperties
Commit 927934a5: Refactor Style inputs to replace React.CSSProperties by IStyle
This commit is contained in:
parent
6ee4eb2986
commit
1116185b9f
11 changed files with 122 additions and 61 deletions
|
@ -1,20 +1,23 @@
|
|||
using System.Runtime.Serialization;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
[DataContract]
|
||||
public class CSSStyle
|
||||
{
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double? strokeWidth;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double? fillOpacity;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string stroke;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string fill;
|
||||
}
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
[DataContract]
|
||||
public class CSSStyle
|
||||
{
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string stroke;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double? strokeOpacity;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double? strokeWidth;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string fill;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public double? fillOpacity;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue