list-item-text

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
3,568
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
25 KB
Alias for the `primary` prop.
2 contributors
Install list-item-text as a package?
Copied
npm i @bit/mui-org.material-ui.list-item-text
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Alias for the primary prop.

If true, the children won’t be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the children (or primary) text, and optional secondary text with the Typography component.

If true, the children will be indented. This should be used if there is no left avatar or left icon.

The main content element.

These props will be forwarded to the primary typography component (as long as disableTypography is not true).

The secondary content element.

These props will be forwarded to the secondary typography component (as long as disableTypography is not true).

Demos:

API:

Properties
NameTypeDescription
children
node

Alias for the primary prop.

classes
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
disableTypography
bool

If true, the children won’t be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the children (or primary) text, and optional secondary text with the Typography component.

inset
bool

If true, the children will be indented. This should be used if there is no left avatar or left icon.

primary
node

The main content element.

primaryTypographyProps
object

These props will be forwarded to the primary typography component (as long as disableTypography is not true).

secondary
node

The secondary content element.

secondaryTypographyProps
object

These props will be forwarded to the secondary typography component (as long as disableTypography is not true).

Help and resources