mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* refactor(date): updated errorMessage story and modified to import props * docs(date): add errorMessageFunction examples * chore: add changeset * fix: remove unnecessary props * fix: typo
20 lines
294 B
TypeScript
20 lines
294 B
TypeScript
const App = `import {TimeInput} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<TimeInput
|
|
label="Event Time"
|
|
isInvalid
|
|
errorMessage="Please enter a valid time"
|
|
/>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|