Alignment

Describes alignment of various elements within Supernova.

Available from: 2.0.0

Import


                                                        
                                                        
                                                            import { Asset } from "@supernovaio/sdk"
                                                        
                                                            

Cases

The following enumeration cases are available:

  • .left: Left alignment of the element.
  • .center: Center alignment of the element.
  • .stretch: Element should stretch to full width.

Formal definition


                                                        
                                                        
                                                            enum Alignment {
                                                          left = "Left",
                                                          center = "Center",
                                                          stretch = "Stretch",
                                                        }