All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.esm.components.list.list.js Maven / Gradle / Ivy

Go to download

Responsive and accessible React UI components built with React and Emotion

The newest version!
"use strict";
"use client";
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';

const {
  withProvider,
  withContext,
  useStyles: useListStyles,
  PropsProvider
} = createSlotRecipeContext({ key: "list" });
const ListRoot = withProvider(
  "ul",
  "root",
  { defaultProps: { role: "list" } }
);
const ListRootPropsProvider = PropsProvider;
const ListItem = withContext("li", "item");
const ListIndicator = withContext(
  "span",
  "indicator"
);

export { ListIndicator, ListItem, ListRoot, ListRootPropsProvider, useListStyles };




© 2015 - 2025 Weber Informatics LLC | Privacy Policy