Title
Display title in different level.
import { Title } from '@redshank/native';
Default
You can display an title
Change Color
Change color to component
Align Title
Change align title
Transform Title
Change transform title
APIs
Title Props
More props in TextProps
Attribute | Type | Accepted values | Description | Default |
---|---|---|---|---|
color | ThemeColor string | ThemeColor | Change icon color | text |
children | string ReactNode | any | Content to show | undefined |
level | number | 1 2 3 4 5 | Level to title, change size | 1 |
align | string | Align | Align title text | left |
transform | string | Transform | Transform title text | none |
marginBottom | number | number | Margin bottom to element | undefined |
Align
type AlignType = 'left' | 'center' | 'right' | 'justify';
Transform
type TransformType = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
Community:
We're excited to see the community adopt @redshank/native, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!
DiscordGithubContributing:
PR's on @redshank/native are always welcome, please see our contribution guidelines to learn how you can contribute to this project.