Add Heading
This commit is contained in:
parent
a962e20ffd
commit
522e169631
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue