Default Image

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

AttributeTypeAccepted valuesDescriptionDefault
colorThemeColor stringThemeColorChange icon colortext
childrenstring ReactNodeanyContent to showundefined
levelnumber1 2 3 4 5Level to title, change size1
alignstringAlignAlign title textleft
transformstringTransformTransform title textnone
marginBottomnumbernumberMargin bottom to elementundefined

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!

DiscordGithub

Contributing:

PR's on @redshank/native are always welcome, please see our contribution guidelines to learn how you can contribute to this project.

Copyright © 2023 @redshank.