diff --git a/.all-contributorsrc b/.all-contributorsrc index b5e1af3ee62e..16ae0c02c4d2 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1443,6 +1443,15 @@ "contributions": [ "code" ] + }, + { + "login": "cuppajoey", + "name": "Joseph Schultz", + "avatar_url": "https://avatars.githubusercontent.com/u/14837881?v=4", + "profile": "https://cuppajoey.com/", + "contributions": [ + "code" + ] } ], "commitConvention": "none" diff --git a/README.md b/README.md index dc92d12fd721..d15659cf52a9 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,7 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
Garrett Dawson

💻 📖
Daniel Adebonojo

📖
Anjana M R

💻 +
Joseph Schultz

💻 diff --git a/packages/react/src/components/RadioTile/RadioTile.js b/packages/react/src/components/RadioTile/RadioTile.tsx similarity index 53% rename from packages/react/src/components/RadioTile/RadioTile.js rename to packages/react/src/components/RadioTile/RadioTile.tsx index 9ea9a8a9b31a..a9bdaeab34e9 100644 --- a/packages/react/src/components/RadioTile/RadioTile.js +++ b/packages/react/src/components/RadioTile/RadioTile.tsx @@ -21,12 +21,73 @@ import { noopFn } from '../../internal/noopFn'; import { Text } from '../Text'; import { useFeatureFlag } from '../FeatureFlags'; +export interface RadioTileProps { + /** + * Specify whether the `RadioTile` should be checked. + */ + checked?: boolean; + + /** + * The `RadioTile` content. + */ + children?: React.ReactNode; + + /** + * Provide an optional `className` to be applied to the underlying `