diff --git a/Ooui/Heading.cs b/Ooui/Heading.cs new file mode 100644 index 0000000..130a8d8 --- /dev/null +++ b/Ooui/Heading.cs @@ -0,0 +1,24 @@ +using System; + +namespace Ooui +{ + public class Heading : Element + { + public Heading (int level = 1) + : base ("h" + level) + { + } + + public Heading (int level, string text) + : this (level) + { + Text = text; + } + + public Heading (string text) + : this () + { + Text = text; + } + } +}