Loading...
A button is a component that the user can interact with to perform a specific action

import { Button } from 'lumine-ui';
const CustomComponent = () => {
return (
<Button text="PRESS ME" />
);
};
{
id: "some-id",
name: "Some name",
text: "Some text",
style: {
color: "red",
fontSize: 20,
fontWeight: "bold"
}
}
Props:
mode
text" | "outlined" | "contained”
text - flat button without background or outline, used for the lowest priority actions, especially when presenting multiple options.outlined - button with an outline without background, typically used for important, but not primary action – represents medium emphasis.contained - button with a background color, used for important action, have the most visual impact and high emphasis.dark
boolean
compact
boolean
text buttons in a row.color
string
loading
boolean
disabled
boolean
onPress is not called on touch.uppercase
boolean
accesibilityLabel
string
accessibilityHint
string
contentStyle
[StyleProp<ViewStyle>](https://reactnative.dev/docs/view-style-props)
labelStyle
[StyleProp<TextStyle>](https://reactnative.dev/docs/text-style-props)