Coder Social home page Coder Social logo

pingidentity / astro Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 4.0 601.46 MB

React component library for Ping Identity's design system

Home Page: https://www.pingidentity.design

License: Apache License 2.0

JavaScript 53.04% Makefile 0.15% MDX 5.64% TypeScript 41.17%
component-library ping-identity react reactjs

astro's People

Contributors

akeohaneping avatar allegraweldon avatar cameronkeifping avatar chooidos avatar e-cooper avatar jamesforsee avatar jeremykw avatar jfal-ping avatar kguptaping avatar nyssa-shepherd avatar rdangol1 avatar svirgunvolodia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

astro's Issues

TS error "Property 'label' does not exist" on Item component due to @react-stately's ItemProps typing

I've started noticing it within the last 24 hours (CI creates a new package-lock.json file so it could be a dependencies having an update that caused this to happen)

Replicate

  1. Remove package-lock.json and */node_modules directory
  2. npm install
  3. Use the following code
import { Item } from '@pingux/astro'
<Item
    key={item.key}
    textValue={item.label}
    label={item.label}
>
    {item.children}
</Item>
  1. Run "tsc" or "tsc --noEmit" OR use VS Code typescript extension

to get error

Type '{ children: Element[]; key: string; textValue: string; label: string; }' is not assignable to type 'IntrinsicAttributes & ItemProps<unknown>'.
  Property 'label' does not exist on type 'IntrinsicAttributes & ItemProps<unknown>'.ts(2322)

Screenshot 2023-09-07 at 9 17 41 am

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.